1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
use clap::Parser; use seed_gen::cli::Seeds; #[derive(Parser)] struct Args { #[command(subcommand)] seeds: Seeds, } fn main() { let args = Args::parse(); for seed in args.seeds { println!("{seed:?}"); } }