You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gobang/src/cli.rs

15 lines
301 B
Rust

use crate::config::CliConfig;
use structopt::StructOpt;
/// A cross-platform TUI database management tool written in Rust
#[derive(StructOpt, Debug)]
#[structopt(name = "gobang")]
pub struct Cli {
#[structopt(flatten)]
pub config: CliConfig,
}
pub fn parse() -> Cli {
Cli::from_args()
}