tiny-terminal-snake 0.2.1

tiny snake game in terminal
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use clap::Parser;

#[derive(Default, Parser, Debug)]
#[clap(version = "0.2")]
pub struct Args {
    #[clap(long)]
    pub gui: bool,

    #[clap(short, long, default_value = "20")]
    pub row: usize,

    #[clap(short, long, default_value = "20")]
    pub col: usize,
}