Pull codename from envvar

i18n
Michal S 2 years ago committed by Michal
parent ef18fa9ce5
commit e9efff91c0

@ -3,7 +3,12 @@
use crate::operations::SearchBy;
use clap::{Parser, Subcommand, ValueHint};
static VERSION: &str = concat!(env!("CARGO_PKG_VERSION"), " (Fish)");
static VERSION: &str = concat!(
env!("CARGO_PKG_VERSION"),
" (",
env!("AMETHYST_CODENAME"),
")"
);
#[derive(Debug, Clone, Parser)]
#[clap(bin_name = "ame", name = "Amethyst", version = VERSION, about = env ! ("CARGO_PKG_DESCRIPTION"), infer_subcommands = true)]

Loading…
Cancel
Save