Crate seaplane_cli

Source

Re-exports§

pub use crate::cli::Seaplane;
pub use crate::config::RawConfig;
pub use crate::context::Ctx;
pub use crate::error::Result;
pub use crate::log::LogLevel;
pub use crate::printer::OutputFormat;

Modules§

api
Wrapping seaplane SDK calls with things like CLI specific contexts, errors, etc.
cli
config
Config handles loading of, and updating the Context from, a configuration file.
context
Context describes the normalized and processed “settings” that a command can use at runtime. This differs from the “config” or the “CLI Arguments” as the Context is built and updated from those sources. This means the context is responsible for de-conflicting mutually exclusive options, or overriding values.
error
fs
log
macros
ops
This module provides types that wrap the API endpoint models and add additional fields/context that is only relevant for the CLI or purposes of consuming the API.
printer

Macros§

arg
Makes declaring consistent arguments less verbose and less tedious.