Files
byte-pusher-emu/src/args.rs
2024-02-21 18:52:26 +05:30

10 lines
299 B
Rust

use clap::Parser;
#[derive(Debug, Parser)]
#[command(version, about, author)]
pub struct BytePusherArgs {
#[arg(short, long, help = "ROM file to load")]
pub file_name: Option<String>,
#[arg(short, long, help = "Scale at which to draw", default_value_t = 2.0)]
pub draw_scale: f32,
}