Class CommandHelper
java.lang.Object
org.incenp.obofoundry.kgcl.cli.CommandHelper
- All Implemented Interfaces:
picocli.CommandLine.IExecutionExceptionHandler, picocli.CommandLine.IVersionProvider
public class CommandHelper
extends Object
implements picocli.CommandLine.IVersionProvider, picocli.CommandLine.IExecutionExceptionHandler
A helper class for command line tools.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidPrints an error message on standard output.String[]inthandleExecutionException(Exception ex, picocli.CommandLine commandLine, picocli.CommandLine.ParseResult fullParseResult) voidPrints an informative message on standard output.voidPrints a warning message on standard output.
-
Constructor Details
-
CommandHelper
public CommandHelper()
-
-
Method Details
-
handleExecutionException
-
getVersion
-
info
-
warn
-
error
-