getnote-auth
Original:🇺🇸 English
Translated
Manage authentication for Get笔记 CLI
3installs
Sourceiswalle/getnote-cli
Added on
NPX Install
npx skill4agent add iswalle/getnote-cli getnote-authTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →getnote-auth Skill
Log in, log out, and check authentication status.
Commands
Log in
getnote 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 |
bash
# 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_xxxGet your API key at: https://www.biji.com/settings/developer (keys start with )
gk_live_Check status
getnote auth statusShows whether authenticated and which API key is active.
bash
getnote auth statusLog out
getnote auth logoutRemoves saved credentials from .
~/.getnote/config.jsonbash
getnote auth logoutAgent Usage Notes
- Always run first to verify authentication before other commands.
getnote auth status - If not authenticated, prompt the user to run .
getnote auth login - on any command is a temporary per-invocation override and does not save credentials.
--api-key - Credentials saved at ; env vars
~/.getnote/config.json/GETNOTE_API_KEYtake higher priority.GETNOTE_CLIENT_ID