Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

add

stash add <url|note> <name> [TEXT] [options]
Argument / OptionDescription
url|noteItem type (required, positional)
<name>Short identifier used in all other commands (required, positional)
TEXTInline content (optional positional)
-t, --title <TITLE>Human-readable title
-e, --editOpen $EDITOR to compose content
--stdinRead content from standard input
-g, --tag <TAG>Attach a tag (repeatable: --tag work --tag personal)
-b, --browser <BROWSER>Store a preferred browser (url items only)
-p, --privateAlways open this URL in private/incognito mode (url items only)
-n, --no-privateClear the stored private-mode preference (url items only)

Exactly one of TEXT, --edit, or --stdin must be supplied. --private and --no-private are mutually exclusive.

stash add note todo  "Buy milk"
stash add url  gh    "https://github.com"
stash add url  gh    "https://github.com" --title "GitHub"
stash add note todo  "Buy milk" --tag work --tag personal
stash add url  work  "https://example.com" --browser firefox
stash add url  priv  "https://example.com" --private
stash add url  combo "https://example.com" -b firefox -p
stash add note journal --edit
echo "some text" | stash add note pipe --stdin