From 1bdb876894571ff3124d18b9acad296df2c727cb Mon Sep 17 00:00:00 2001 From: JacobLinCool Date: Wed, 24 Jul 2024 15:02:52 +0800 Subject: [PATCH] feat: add version --- src/bin/gr.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/gr.rs b/src/bin/gr.rs index 978491e..18213ab 100644 --- a/src/bin/gr.rs +++ b/src/bin/gr.rs @@ -32,6 +32,7 @@ async fn main() -> Result<()> { fn cli() -> Command { Command::new("gr") + .version(env!("CARGO_PKG_VERSION")) .about("Gradio Command Line Client") .arg(arg!(--token "The Hugging Face Access Token")) .subcommand_required(true)