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

@ -1,6 +1,6 @@
{ {
"name": "creddy", "name": "creddy",
"version": "0.3.2", "version": "0.3.3",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",
"build": "vite build", "build": "vite build",

View File

@ -1,6 +1,6 @@
[package] [package]
name = "creddy" name = "creddy"
version = "0.3.2" version = "0.3.3"
description = "A friendly AWS credentials manager" description = "A friendly AWS credentials manager"
authors = ["Joseph Montanaro"] authors = ["Joseph Montanaro"]
license = "" license = ""

View File

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

View File

@ -8,7 +8,7 @@
}, },
"package": { "package": {
"productName": "creddy", "productName": "creddy",
"version": "0.3.2" "version": "0.3.3"
}, },
"tauri": { "tauri": {
"allowlist": { "allowlist": {