mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-09-11 13:56:58 +03:00
Merge pull request #2371 from LouisWT/leo-version
feat: support leo --version
This commit is contained in:
commit
86c206ab4a
@ -28,7 +28,7 @@ use std::{path::PathBuf, process::exit};
|
||||
|
||||
/// CLI Arguments entry point - includes global parameters and subcommands
|
||||
#[derive(StructOpt, Debug)]
|
||||
#[structopt(name = "leo", author = "The Aleo Team <hello@aleo.org>")]
|
||||
#[structopt(name = "leo", author = "The Aleo Team <hello@aleo.org>", version)]
|
||||
pub struct CLI {
|
||||
#[structopt(short, global = true, help = "Print additional information for debugging")]
|
||||
debug: bool,
|
||||
|
Loading…
Reference in New Issue
Block a user