From 1affe33801563e770b15077788a54a576b75435f Mon Sep 17 00:00:00 2001 From: Oliver Stenbom Date: Wed, 8 Nov 2023 14:35:12 +0100 Subject: [PATCH] Add version command to cli --- linkup-cli/src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/linkup-cli/src/main.rs b/linkup-cli/src/main.rs index 460a13b..076d5dc 100644 --- a/linkup-cli/src/main.rs +++ b/linkup-cli/src/main.rs @@ -119,7 +119,8 @@ pub enum CliError { #[derive(Parser)] #[command( name = "linkup", - about = "Connect remote and local dev/preview environments" + about = "Connect remote and local dev/preview environments", + version = env!("CARGO_PKG_VERSION"), )] struct Cli { #[command(subcommand)]