Authentication and settings
Log in
Create an API key (it starts with sk-rb-) at https://vibetoken.cn/api-key, then run:
vibetoken auth login
Paste the key and press Enter. The key is saved in the system keychain (macOS Keychain, Windows Credential Manager, or Secret Service on Linux). Without a keychain, it is saved to a config file only you can read.
If VIBETOKEN_API_KEY is already set, just press Enter to save it.
vibetoken auth status # show the key in use, its spending, and its limit
vibetoken auth logout # remove the saved key
Without saving a key
You can also pass the key each time. Both of these take precedence over a saved key:
export VIBETOKEN_API_KEY=sk-rb-...
vibetoken billing balance --api-key sk-rb-...
Other settings
vibetoken config list
vibetoken config set output json # print JSON by default
vibetoken config unset output