pub async fn run() -> Result<()>Expand description
Runs ssh-cli from the command-line arguments.
Entry point called by main.rs. It:
- Registers the Ctrl+C handler for graceful cancellation.
- Initializes the platform (Windows UTF-8 code page, TTY detection).
- Parses arguments via clap.
- Initializes logging via
tracing-subscriber. - Initializes terminal color configuration.
- Initializes i18n with the detected language.
- Dispatches to the appropriate subcommand (
vps,connect,exec,sudo-exec,scp,tunnel).