use ::clap::StructOpt;
use crate::common::CommandArgs;
#[derive(StructOpt, Debug)]
#[structopt(
name = "mon",
about = "Log the command, the outcome, timings and play a sound."
)]
pub struct MonArgs {
#[structopt(short = 'c', long = "no-print-cmd")]
pub no_print_cmd: bool,
#[structopt(short = 'b', long = "no-output-on-success")]
pub no_output_on_success: bool,
#[structopt(short = 't', long)]
pub no_timing: bool,
#[structopt(short = 's', long = "ok-sound")]
pub sound_success: bool,
#[structopt(short = 'S', long = "fail-sound")]
pub sound_failure: bool,
#[structopt(subcommand)]
pub cmd: CommandArgs,
}
#[test]
fn test_cli_args() {
use clap::IntoApp;
MonArgs::into_app().debug_assert()
}