feat(cli): add jj-lib version to version output

This commit is contained in:
2026-04-21 21:02:11 +02:00
parent 1bab78cb20
commit c5814ab480
4 changed files with 309 additions and 1 deletions

View File

@@ -7,7 +7,7 @@ use clap::Parser;
#[derive(Debug, Parser)]
#[command(
name = "jj-cz",
version,
version = concat!(env!("CARGO_PKG_VERSION"), " (jj-lib ", env!("JJ_LIB_VERSION") ,")"),
about = "Interactive conventional commit tool for Jujutsu",
long_about = "Guides you through creating a properly formatted conventional \
commit message and applies it to the current change in your \