Skip to content

Commit

Permalink
add version to cli
Browse files Browse the repository at this point in the history
  • Loading branch information
olivierlabayle committed Sep 6, 2024
1 parent e51b657 commit 9634402
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/cli.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
function cli_settings()
s = ArgParseSettings(description="TMLE CLI.")
s = ArgParseSettings(
description="TMLECLI.",
add_version = true,
commands_are_required = false,
version=string(pkgversion(TMLECLI))
)

@add_arg_table! s begin
"tmle"
Expand Down

2 comments on commit 9634402

@olivierlabayle
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Error while trying to register: Version 0.10.0 already exists

Please sign in to comment.