Skip to main content

Module cli

Expand description

CLI Delivery Mechanism

This module contains the CLI-specific presentation code that implements the command-line interface for the deployer. It follows a four-layer MVC architecture:

Input → Dispatch → Controllers → Views
LayerPurpose
InputCLI argument parsing and validation (Clap)
DispatchCommand routing and execution context
ControllersCommand handling and business logic coordination
ViewsOutput formatting and presentation

Re-exports§

pub use controllers::create::CreateCommandError;
pub use controllers::create::CreateEnvironmentCommandError;
pub use controllers::create::CreateEnvironmentTemplateCommandError;
pub use controllers::destroy::DestroySubcommandError;
pub use error::handle_error;
pub use errors::CommandError;
pub use input::Cli;
pub use input::Commands;
pub use input::GlobalArgs;
pub use views::progress::ProgressReporter;
pub use views::Theme;
pub use views::UserOutput;
pub use views::VerbosityLevel;

Modules§

controllers
Controllers Layer - Presentation Layer Component
dispatch
Dispatch Layer - Presentation Layer Component
error
Error Handling Module - Presentation Layer
errors
Presentation Layer Error Types
input
Input Layer - Presentation Layer Component
views
Views Layer - User Interface Output