Expand description
Authentication subcommand builders.
Builders for the claude auth surface: AuthStatusCommand,
AuthLoginCommand, AuthLogoutCommand, and
SetupTokenCommand. For detecting which auth strategy the CLI
will use without invoking it, see crate::auth.
Structs§
- Auth
Login Command - Authenticate with Claude.
- Auth
Logout Command - Deauthenticate from Claude.
- Auth
Status Command - Check authentication status.
- Setup
Token Command - Set up a long-lived authentication token.
Enums§
- Login
Mode - Which billing path the CLI should authenticate against.
Maps to
--claudeai(subscription) or--console(Anthropic Console / API usage billing) onclaude auth login.