Skip to content

Command reference

Running sharge prints root text help and exits with code 0. sharge --help --json returns the full machine-readable command catalog. Unknown commands return INVALID_COMMAND with exit code 2.

Global options

OptionBehavior
--helpOffline text help; does not log in or access the network
--jsonStable JSON envelope
--jq <expression>Filters a complete success envelope; requires --json
--debugWrites local diagnostics to stderr
--timeout <duration>Total timeout with an s or m suffix
--timezone <iana>IANA timezone for this invocation

Write commands also expose options as needed:

OptionBehavior
`—input <json@file
--generate-inputOffline editable JSON template
--dry-runZero-network execution plan
--yesConfirms a destructive operation

Download commands may offer --file <path>, --overwrite, and --dry-run. There is no global --api-key, --base-url, --retry, or automatic all-pages option.

Root commands

Product commands

Scopes

NamespaceReadWrite
notesquick_notes:readquick_notes:write
calendarcalendar:readcalendar:write
recordingsvoicemaster:readNot supported
diaryai_daily:readNot supported

Network and repeat execution

Use each command’s --help --json for its exact arguments, schemas, scopes, side effects, retry safety, and error types. Business commands do not log in, retry, or fetch extra pages implicitly. Writes send one request, so after a network failure or timeout check the resource before another write.