Module cli
Expand description
CLI interface
StructsΒ§
- Args
- Cluster SSH tool for Windows inspired by csshX
- CLIArgs
Command - Default implementation of ArgsCommand trait
- CLILogger
Initializer - Default implementation of LoggerInitializer trait
- Main
Entrypoint - Main Entrypoint struct
EnumsΒ§
- Commands π
- The
commandCLI subcommand
ConstantsΒ§
- PKG_
NAME π
TraitsΒ§
- Args
Command - Trait for Args operations to enable mocking in tests
- Entrypoint
- Trait defining the entrypoint functions of the different subcommands
- Logger
Initializer - Trait for logger initialization to enable mocking in tests
FunctionsΒ§
- execute_
parsed_ πcommand - Execute a parsed command using the provided entrypoint
- handle_
special_ πcommands - Handle special commands that donβt need full parsing
- main
- The main entrypoint
- read_
user_ πinput - Read user input from stdin
- run_
interactive_ πmode - Run the interactive mode loop for GUI launches
- show_
interactive_ πprompt - Display the interactive mode prompt and instructions