From 91870e497d7212db40fc4ff5453233fc3fa5546d Mon Sep 17 00:00:00 2001 From: Lynn Date: Mon, 19 Jun 2023 17:31:46 +0200 Subject: [PATCH] Restore --version command --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index e0df8b3..8c794ce 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -50,6 +50,7 @@ pub static PBAR: ProgressOutput = ProgressOutput::new(); /// 📦 ✨ pack and publish your wasm! #[derive(Debug, Parser)] +#[command(version)] pub struct Cli { /// The subcommand to run. #[clap(subcommand)] // Note that we mark a field as a subcommand