Skip to main content

Module cli

Module cli 

Source
Expand description

CLI subcommand handlers. Each function handles one clap subcommand (provider, tunnel, password, snippet, add, import, sync, logs, theme, vault sign) and runs outside the TUI in a non-interactive terminal context.

Functions§

handle_import
handle_logs_command
handle_password_command
Resolve the current on-disk mtime of a host’s Vault SSH certificate.
handle_provider_command
handle_quick_add
handle_snippet_command
handle_sync
handle_theme_command
handle_tunnel_command
handle_vault_sign_command
prompt_hidden_input
Read a line of input with echo disabled. Returns None if the user presses Esc.
run_whats_new
select_proton_askpass
Pick the askpass value that drives a single Proton Pass pre-flight call for a batch of hosts. Returns Some(value) if any host uses a proton: source (per-host override OR the global default), preferring the first proton: value by position in the slice before falling back to the default. Returns None when no host in the batch uses Proton Pass.