login¶
whzbox login signs in to Whizlabs interactively and replaces the stored session tokens.
Syntax¶
Arguments¶
This command takes no positional arguments.
Flags¶
This command uses only the global flags.
Behavior¶
- Always prompts for credentials through the interactive prompt adapter.
- Ignores any cached refresh token.
- Saves the returned Whizlabs access token, refresh token, expiry timestamps, and user email to the local state file.
- Returns a non-interactive error when no terminal is attached.
Output¶
This command writes no structured data to stdout on success.
Exit behavior¶
0on success2for invalid credentials4if the user aborts the prompt5if no interactive terminal is available