added auto discovery and bumped version

This commit is contained in:
2026-03-17 09:19:36 +01:00
parent 68cd6543b3
commit 7b2217886c
3 changed files with 141 additions and 12 deletions

View File

@@ -12,8 +12,8 @@ use std::path::PathBuf;
)]
pub struct Cli {
/// The input template file (e.g., .env.example, config.json.template, docker-compose.yml)
#[arg(required = true, value_name = "INPUT_FILE")]
pub input: PathBuf,
#[arg(required = false, value_name = "INPUT_FILE")]
pub input: Option<PathBuf>,
/// Optional output file. If not provided, it will be inferred.
#[arg(short, long, value_name = "OUTPUT_FILE")]