Struct seaplane_cli::cli::Seaplane
source · pub struct Seaplane;Implementations§
Trait Implementations§
source§impl CliCommand for Seaplane
impl CliCommand for Seaplane
fn run(&self, ctx: &mut Ctx) -> Result<()>
source§fn update_ctx(&self, matches: &ArgMatches, ctx: &mut Ctx) -> Result<()>
fn update_ctx(&self, matches: &ArgMatches, ctx: &mut Ctx) -> Result<()>
Care should be taken to keep CliCommand::update_ctx pure with no external effects such as
I/O. This allows the CLI to be fully tested without any assumptions of the testing
environment