diff --git a/app/gitignore-gen/src/main.rs b/app/gitignore-gen/src/main.rs new file mode 100644 index 0000000..eb552fa --- /dev/null +++ b/app/gitignore-gen/src/main.rs @@ -0,0 +1,20 @@ +mod cli; +mod core; +mod templates; +mod tui; + +use anyhow::Result; +use clap::Parser; + +#[derive(Parser, Version)] +#[command(name = "gitignore-gen")] +#[command(author, version, about, long_about = None)] +struct Args { + #[command(subcommand)] + command: cli::Commands, +} + +fn main() -> Result<()> { + let args = Args::parse(); + cli::run(args.command) +}