Skip to content
This repository was archived by the owner on Sep 1, 2023. It is now read-only.

Commit a098cea

Browse files
committed
chore: add version to clap
1 parent 7ab0685 commit a098cea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ fn main() -> std::io::Result<()> {
5353
.subcommand_required(true)
5454
.arg_required_else_help(true)
5555
.author("Tiago Dinis")
56+
.version(env!("CARGO_PKG_VERSION"))
5657
.subcommand(
5758
Command::new("login")
5859
.about("Sets the Discloud API token, use .api command on #commands to generate one")

0 commit comments

Comments
 (0)