Loading...
Loading...
Manage authentication for Get笔记 CLI
npx skill4agent add iswalle/getnote-cli getnote-authgetnote auth login [--api-key <key>] [--client-id <id>]| Mode | Command | Description |
|---|---|---|
| OAuth (recommended) | | Opens browser to authorize; saves credentials automatically |
| API Key | | Saves key directly, no browser needed |
# OAuth flow (opens browser)
getnote auth login
# API key directly
getnote auth login --api-key gk_live_xxx
# API key + Client ID
getnote auth login --api-key gk_live_xxx --client-id cli_xxxgk_live_getnote auth statusgetnote auth statusgetnote auth logout~/.getnote/config.jsongetnote auth logoutgetnote auth statusgetnote auth login--api-key~/.getnote/config.jsonGETNOTE_API_KEYGETNOTE_CLIENT_ID