use ::std::path::PathBuf;
use ::clap::StructOpt;
#[derive(StructOpt, Debug, Clone)]
#[structopt(
name = "rsh",
about = "Compile and run a Rust snippet.",
after_help = "If you see this instead of your command's help, try adding -- before arguments."
)]
pub struct RshArgs {
#[structopt()]
pub script: PathBuf,
#[structopt(long = "rsh-rebuild")]
pub force_rebuild: bool,
#[structopt(long = "rsh-build-only")]
pub build_only: bool,
#[structopt(long = "rsh-keep-generated")]
pub keep_generated: bool,
#[structopt()]
pub args: Vec<String>,
}
#[test]
fn test_cli_args() {
use clap::IntoApp;
RshArgs::into_app().debug_assert()
}