show version in cli

This commit is contained in:
Joseph Montanaro
2023-09-14 15:22:38 -07:00
parent 992d2a4d06
commit 3d093a3a45
4 changed files with 4 additions and 3 deletions

View File

@ -23,6 +23,7 @@ use crate::errors::*;
pub fn parser() -> Command<'static> {
Command::new("creddy")
.version(env!("CARGO_PKG_VERSION"))
.about("A friendly AWS credentials manager")
.subcommand(
Command::new("run")