Skip to main content

Module shared

Module shared 

Source
Expand description

Cross-command CLI utilities shared across command modules.

Aggregates the CommandOutput artifact model and its output types, profile resolution (resolve_profile_path, resolve_profile_with_data), argument parsers, and text helpers. Also defines the define_pool_command! macro used by the log commands to generate pooled execution entry points.

Re-exports§

pub use command_result::CommandOutput;
pub use command_result::KeyValueItem;
pub use command_result::KeyValueOutput;
pub use command_result::SuccessOutput;
pub use command_result::TableOutput;
pub use command_result::TextOutput;
pub use command_result::render_result;
pub use parsers::parse_email;
pub use parsers::parse_profile_name;
pub use profile::ProfileResolutionError;
pub use profile::is_path_input;
pub use profile::resolve_profile_from_path;
pub use profile::resolve_profile_path;
pub use profile::resolve_profile_with_data;

Modules§

command_result
Structured command output and its terminal/JSON rendering.
docker
parsers
CLI value parsers for fail-fast validation at command line boundaries.
paths
process
profile
Profile discovery and resolution shared across CLI commands.
project
text

Enums§

ChartType

Functions§

truncate_with_ellipsis