craftybase auth login
craftybase auth login
Section titled “craftybase auth login”Authenticate with the Craftybase API
Synopsis
Section titled “Synopsis”Authenticate with the Craftybase 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 ~/.craftybase/config.toml.
craftybase 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.craftybase.com) --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”- craftybase auth - Manage authentication credentials