TheJacksonLaboratory / LIRICAL

LIkelihood Ratio Interpretation of Clinical AbnormaLities
https://thejacksonlaboratory.github.io/LIRICAL/stable
Other
22 stars 11 forks source link

picocli shortcut #562

Closed pnrobinson closed 1 year ago

pnrobinson commented 2 years ago
 if (args.length == 0) {
            // if the user doesn't pass any command or option, add -h to show help
            args = new String[]{"-h"};
        }
        CommandLine cline = new CommandLine(new PhenopacketTools());
        cline.getSubcommands().get("generate-completion").getCommandSpec().usageMessage().hidden(true);
        int exitCode = cline.execute(args);
        System.exit(exitCode);
iimpulse commented 1 year ago

607