--token flag.
See Authentication for full details on all login methods and environment variables.
Options
| Option | Short | Description |
|---|---|---|
--token <token> | -t | API token — skips browser login |
--api-url <url> | — | Custom API URL (default: https://api.royaltyport.com) |
Behavior
| Environment | What happens |
|---|---|
| Interactive terminal | Opens your browser for OAuth sign-in |
--token flag provided | Validates and stores the API token (no browser) |
| Non-interactive / piped stdin | Prompts for an API token via stdin |