com.github.ngeor.yak4jcli.Main Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of yak4j-cli Show documentation
Show all versions of yak4j-cli Show documentation
Interactive CLI for yak4j
package com.github.ngeor.yak4jcli;
import picocli.CommandLine;
/**
* Main class.
*/
@SuppressWarnings("checkstyle:HideUtilityClassConstructor")
@CommandLine.Command(subcommands = {
NewProjectCommand.class,
ListProjectsCommand.class,
BumpCommand.class,
CommandLine.HelpCommand.class
})
public class Main {
/**
* Main entrypoint for the program.
*/
public static void main(String[] args) {
//noinspection InstantiationOfUtilityClass
int exitCode = new CommandLine(new Main()).execute(args);
System.exit(exitCode);
}
}