feat(cli): add detailed version info w/ shadow

This commit is contained in:
LGUG2Z
2024-07-05 08:00:33 -07:00
parent 60bc96e9a5
commit 2a67c9c786
8 changed files with 256 additions and 116 deletions
+3 -1
View File
@@ -99,6 +99,8 @@ lazy_static! {
};
}
shadow_rs::shadow!(build);
#[derive(thiserror::Error, Debug, miette::Diagnostic)]
#[error("{message}")]
#[diagnostic(code(komorebi::configuration), help("try fixing this syntax error"))]
@@ -815,7 +817,7 @@ struct EnableAutostart {
}
#[derive(Parser)]
#[clap(author, about, version)]
#[clap(author, about, version = build::CLAP_LONG_VERSION)]
struct Opts {
#[clap(subcommand)]
subcmd: SubCommand,