From 7fc202b91eebc943234ddfd278adad1bf95d49de Mon Sep 17 00:00:00 2001 From: DJ Date: Mon, 30 Mar 2026 19:48:22 -0700 Subject: [PATCH] fix: add --version flag to CLI Closes #11 item 7. Co-Authored-By: Claude Opus 4.6 (1M context) --- src/cli/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cli/mod.rs b/src/cli/mod.rs index e5af369..245fca5 100644 --- a/src/cli/mod.rs +++ b/src/cli/mod.rs @@ -21,6 +21,7 @@ use clap::{Parser, Subcommand}; #[derive(Parser, Debug)] #[command(name = "dgr")] #[command(about = "Git wrapper for stacked PR workflows")] +#[command(version)] struct Cli { #[command(subcommand)] command: Commands,