feat: udpates
This commit is contained in:
@@ -5,8 +5,6 @@ import picocli.CommandLine;
|
||||
import picocli.CommandLine.Command;
|
||||
import picocli.CommandLine.Option;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
@Command(name = "example",
|
||||
mixinStandardHelpOptions = true,
|
||||
version = "Picocli example 1.0",
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
package me.hatter.demo.commands;
|
||||
|
||||
import picocli.CommandLine;
|
||||
import picocli.CommandLine.Command;
|
||||
import picocli.CommandLine.Option;
|
||||
|
||||
@CommandLine.Command(name = "demo", description = "Demo subcommand")
|
||||
@Command(name = "demo", description = "Demo subcommand")
|
||||
public class DemoSubCommand implements Runnable {
|
||||
@Option(names = {"-h", "--help"}, usageHelp = true, description = "Show this help message and exit.")//, hidden = true)
|
||||
boolean helpRequested = false;
|
||||
|
||||
Reference in New Issue
Block a user