diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..a533003 --- /dev/null +++ b/src/main.rs @@ -0,0 +1,23 @@ +mod core; + +use clap::{Parser, Subcommand}; + +#[derive(Parser)] +#[command(version, about, long_about = None)] +struct Cli { + #[command(subcommand)] + command: Command +} + +#[derive(Subcommand)] +enum Command { + Init, +} + + +fn main() { + let cli = Cli::parse(); + match &cli.command { + Command::Init => { todo!() } + } +}
\ No newline at end of file |