mirror of
https://github.com/jlengrand/jreleaser.git
synced 2026-03-10 08:31:24 +00:00
[cli] Enabled version flags on all commands. Resolves #396
This commit is contained in:
@@ -27,6 +27,7 @@ import java.util.ResourceBundle;
|
||||
* @since 0.8.0
|
||||
*/
|
||||
@CommandLine.Command(mixinStandardHelpOptions = true,
|
||||
versionProvider = Versions.class,
|
||||
resourceBundle = "org.jreleaser.cli.Messages")
|
||||
abstract class BaseCommand {
|
||||
@CommandLine.Spec
|
||||
|
||||
@@ -26,7 +26,6 @@ import java.io.PrintWriter;
|
||||
* @since 0.1.0
|
||||
*/
|
||||
@CommandLine.Command(name = "jreleaser",
|
||||
versionProvider = Versions.class,
|
||||
subcommands = {Init.class, Config.class, Template.class,
|
||||
Assemble.class, Changelog.class,
|
||||
Checksum.class, Sign.class, Upload.class,
|
||||
|
||||
Reference in New Issue
Block a user