We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b27c1bd commit f7a37c5Copy full SHA for f7a37c5
src/main/java/com/mindee/CommandLineInterface.java
@@ -99,6 +99,7 @@ public static void main(String[] args) {
99
CommandLine.Command annotation = method.getAnnotation(CommandLine.Command.class);
100
String subcommandName = annotation.name();
101
CommandLine subCmd = new CommandLine(new ProductCommandHandler(products, method));
102
+ subCmd.getCommandSpec().usageMessage().description(annotation.description());
103
commandLine.addSubcommand(subcommandName, subCmd);
104
}
105
0 commit comments