System.exit with the specified exit code.
Throw a GroovyRuntimeException with the specified exception.
Return the result of the script execution.
CommandLine instance to set a custom
IParameterExceptionHandler and a custom IExecutionExceptionHandler,
subclasses can override to customize further.PicocliBaseScript.runRunnableSubcommand(List), or PicocliBaseScript.runScriptBody()
then this gets called to report the problem.PicocliBaseScript.parseScriptArguments(CommandLine, String[])
then this method gets called to report the problem.CommandLine.parse(String...) with the given arguments.PicocliBaseScript2 instead.PicocliScript2 instead.PicocliScript are transformed into a class that
extends PicocliBaseScript.usageHelp attribute is annotated as true appears in the arguments.usageHelp attribute is annotated as true appears in the arguments.versionHelp attribute is annotated as true appears in the arguments.@Field variables
annotated with @Option or @Parameters before executing the script body.@Field variables
annotated with @Option or @Parameters before executing the script body.CommandLine object in the list) implements Runnable or Callable,
then run it.