Initial upload: gitignore-gen Rust CLI tool with 100+ templates
Some checks failed
CI / build (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / test (push) Has been cancelled

This commit is contained in:
2026-02-04 04:43:15 +00:00
parent ebfd877429
commit 4bd68a821a

View File

@@ -0,0 +1,24 @@
use std::path::PathBuf;
#[derive(Debug, Clone)]
pub struct Config {
pub template_path: PathBuf,
pub auto_update_templates: bool,
pub show_categories: bool,
}
impl Default for Config {
fn default() -> Self {
Self {
template_path: PathBuf::from("resources/templates"),
auto_update_templates: false,
show_categories: true,
}
}
}
impl Config {
pub fn new() -> Self {
Self::default()
}
}