From 486407e28de55f5641204d6b984b491214e69784 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Wed, 4 Feb 2026 04:43:12 +0000 Subject: [PATCH] Initial upload: gitignore-gen Rust CLI tool with 100+ templates --- app/gitignore-gen/src/main.rs | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 app/gitignore-gen/src/main.rs 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) +}