Expand description
CLI command routing and handlers
Structs§
- CliContext
- CLI execution context
Functions§
- get_
all_ options - Get all options with a specific prefix from args
- get_
api_ client - Get API client for a profile (legacy function, maintains backward compatibility)
- get_
api_ client_ with_ token_ type - Get API client for a profile with optional token type selection
- get_
option - Get option value from args (e.g., –key=value)
- handle_
export_ command - Handle auth export command
- handle_
import_ command - Handle auth import command
- has_
flag - Check if a flag exists in args
- is_
non_ interactive_ error - Check if error message indicates non-interactive mode failure
- parse_
token_ type - Parse token type from command line arguments Supports both –token-type=VALUE and –token-type VALUE formats
- print_
conv_ usage - print_
file_ usage - print_
msg_ usage - print_
react_ usage - print_
users_ usage - run_
api_ call - Run the api call command
- run_
auth_ login - Run the auth login command with argument parsing
- run_
conv_ history - run_
conv_ list - run_
conv_ select - run_
file_ upload - run_
msg_ delete - run_
msg_ post - run_
msg_ update - run_
react_ add - run_
react_ remove - run_
search - run_
users_ cache_ update - run_
users_ info - run_
users_ resolve_ mentions - wrap_
with_ envelope - Wrap response with unified envelope including metadata