Skip to main content

Module cli

Module cli 

Source
Expand description

CLI command routing and handlers

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)
has_flag
Check if a flag exists in args
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_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