Skip to main content

Crate codex_profiles

Crate codex_profiles 

Source

Structs§

AuthFile
Paths
Tokens
UpdateConfig
UsageLock

Enums§

InstallSource
UpdateAction
Update action the CLI should perform after the prompt exits.
UpdatePromptOutcome
UsageFetchError

Constants§

CANCELLED_MESSAGE

Functions§

assign_label
collect_profile_ids
command_name
copy_atomic
delete_profile
detect_install_source
dismiss_version
Persist a dismissal for the current latest version so we don’t show the update popup again for this version.
ensure_codex_cli
ensure_paths
extract_email_and_plan
fetch_usage_details
format_action
format_cancel
format_cmd
format_entry_header
format_error
format_hint
format_last_used
format_list_hint
format_no_profiles
format_plan
format_profile_display
format_save_before_load
format_unsaved_warning
format_usage_unavailable
format_warning
get_upgrade_version
get_upgrade_version_for_popup
Returns the latest version to show in a popup, if it should be shown. This respects the user’s dismissal choice for the current latest version.
has_auth
inquire_select_render_config
is_api_key_profile
is_free_plan
is_inquire_cancel
is_plain
is_profile_ready
label_for_id
list_profiles
load_profile
load_profile_tokens_map
lock_usage
normalize_error
normalize_usage
now_seconds
ordered_profiles
package_command_name
print_output_block
print_output_block_with_frame
profile_error
profile_files
profile_id_from_path
profile_path_for_id
prune_labels
read_auth_file
read_base_url
read_labels
read_tokens
read_tokens_opt
refresh_profile_tokens
remove_labels_for_id
require_identity
resolve_label_id
resolve_paths
run_cli
run_update_prompt_if_needed
save_profile
set_plain
status_label
status_profiles
style_text
sync_current_readonly
terminal_width
token_account_id
tokens_from_api_key
usage_unavailable
use_color_stderr
use_color_stdout
use_tty_stderr
write_atomic
write_atomic_with_mode
write_labels

Type Aliases§

Labels