stocksmith auth login
stocksmith auth login
Section titled “stocksmith auth login”Authenticate with the Stocksmith API
Synopsis
Section titled “Synopsis”Authenticate with the Stocksmith API using an API key.
The key can be provided via:
- —token flag
- stdin (when piped)
- interactive prompt (when run in a terminal)
On success, credentials are saved to ~/.stocksmith/config.toml.
stocksmith auth login [flags]Options
Section titled “Options” -h, --help help for login --token string API token to authenticate withOptions inherited from parent commands
Section titled “Options inherited from parent commands” --api-url string API base URL (default: https://api.stocksmith.io) --json Output raw API envelope (pretty-printed JSON) --ndjson Output auto-paginated NDJSON stream --no-color Disable ANSI color output --verbose Show HTTP request/response detail (token redacted)SEE ALSO
Section titled “SEE ALSO”- stocksmith auth - Manage authentication credentials