use clap::Parser;
#[derive(Parser)]
#[command(
author = "Pwnwriter < hey@Pwnwriter.xyz >",
version,
about,
long_about = "🦊 Run rust code using Rust Playground in your terminal."
)]
pub struct Cli {
#[arg(required = true, short, long)]
pub run: String,
#[arg(short, long, default_value = "stable")]
pub channel: String,
#[arg(short, long, default_value = "debug")]
pub mode: String,
#[arg(short, long, default_value = "2021")]
pub edition: String,
#[arg(short, long, default_value = "false")]
pub backtrace: bool,
#[arg(short, long, default_value = "false")]
pub tests: bool,
}