Skip to content

Commit

Permalink
cli: Added version command
Browse files Browse the repository at this point in the history
  • Loading branch information
WerWolv committed Feb 2, 2025
1 parent 4f46b5d commit 6993825
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cli/source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ namespace pl::cli {
if (subcommand == "-h" || subcommand == "--help") {
fmt::print("{}", app.help());
return EXIT_FAILURE;
} else if (subcommand == "--version") {
fmt::print("{}", "v1.0.0");
return EXIT_SUCCESS;
}

try {
Expand Down

0 comments on commit 6993825

Please sign in to comment.