Expand description
CLI argument definitions via clap derive and dispatcher.
- CRUD de VPS —
vps add|list|remove|edit|show|path|doctor|export|import connect— writes siblingactivefile (not a TOML field)- One-shot execution —
exec|sudo-exec|su-exec|scp|sftp|tunnel|health-check secrets— primary-key status/init/reencrypt (cifragem at-rest default)- Completions /
commands(agent command-tree discovery)
ZERO .env at runtime. ZERO telemetry. One-shot cycle: start → dispatch → exit.
Structs§
- CliArgs
- Global ssh-cli arguments.
- SshAuth
Args - Shared SSH authentication overrides (flatten into exec/scp/tunnel/health-check).
Enums§
- Command
- Top-level subcommands.
- Locale
Action - Actions of the
localesubcommand. - Output
Format - Output format supported by the CLI.
- ScpAction
- Actions of the
scpsubcommand (regular files only; no-r). - Secrets
Action - Actions of the
secretssubcommand (primary-key / AEAD). - Sftp
Action - Actions of the
sftpsubcommand (SFTP v3 subsystem). - TlsAcme
Account Action - ACME account sub-actions.
- TlsAcme
Action - ACME actions (DNS-01, agent two-step).
- TlsAction
- Actions of the
tlssubcommand (SSH-over-TLS / mTLS / ACME). - TlsMtls
Action - mTLS identity store actions.
- VpsAction
- Actions of the
vpssubcommand.
Functions§
- bootstrap_
logs - Installs stderr tracing before clap parse (delegates to
crate::telemetry). - command_
tree_ json - Builds a JSON command tree from the clap
Commandgraph (G-IO-10). - dispatch
- Runs the requested subcommand.
- dispatch_
impl - Shared dispatch implementation (cli + commands layers).
- effective_
timeout - Merges local subcommand timeout with global
--timeout(local wins). - effective_
timeout_ ms - Merges local/global timeout and refines to
crate::domain::TimeoutMs(G-TYPE-18). - generate_
completions - Writes shell completions to stdout.
- initialize_
logs - Reloads the tracing filter from CLI flags (delegates to
crate::telemetry). - parse_
args - Parses CLI arguments.
- parse_
remote_ steps - Maps CLI
--stepstrings into refined remote commands (G-TYPE-19). - render_
manpage - Renders a man page for
ssh-cli(G-12 / clap_mangen). - resolve_
format - Resolves output format:
--jsonglobal / explicit enum > non-TTY JSON > Text. - resolve_
format_ from_ cli - Resolves format from global
--json+--output-format(G-AUD-01). - run_
schema - Runs
ssh-cli schema [NAME].