Trait factorio_bot::cli::Subcommand
source · [−]pub trait Subcommand {
fn name(&self) -> &str;
fn build_command(&self) -> Command<'static>;
fn build_callback(
&self
) -> fn(_: ArgMatches, _: &mut Context) -> Pin<Box<dyn Future<Output = Result<()>>>>;
}