Skip navigation links
C G H P R V 

C

COMMAND_LINE - Static variable in class picocli.groovy.PicocliBaseScript
Name of the property that holds the CommandLine instance for this script ("commandLine").
createCommandLine() - Method in class picocli.groovy.PicocliBaseScript
Create and returns a new CommandLine instance.

G

getOrCreateCommandLine() - Method in class picocli.groovy.PicocliBaseScript
Return the CommandLine for this script.
getScriptArguments() - Method in class picocli.groovy.PicocliBaseScript
Return the script arguments as an array of strings.

H

handleExecutionException(CommandLine, String[], Exception) - Method in class picocli.groovy.PicocliBaseScript
If an Exception occurs during PicocliBaseScript.runRunnableSubcommand(List), or PicocliBaseScript.runScriptBody() then this gets called to report the problem.
handleParameterException(CommandLine.ParameterException, String[]) - Method in class picocli.groovy.PicocliBaseScript
If a ParameterException occurs during PicocliBaseScript.parseScriptArguments(CommandLine, String[]) then this method gets called to report the problem.

P

parseScriptArguments(CommandLine, String[]) - Method in class picocli.groovy.PicocliBaseScript
Returns the result of calling CommandLine.parse(String...) with the given arguments.
picocli.groovy - package picocli.groovy
Provides classes and annotations to give Groovy scripts convenient access to picocli functionality.
PicocliBaseScript - Class in picocli.groovy
Base script class that provides picocli declarative (annotation-based) command line argument processing for Groovy scripts.
PicocliBaseScript() - Constructor for class picocli.groovy.PicocliBaseScript
 
PicocliScript - Annotation Type in picocli.groovy
Annotation to give Groovy scripts convenient access to picocli functionality.
PicocliScriptASTTransformation - Class in picocli.groovy
Ensures that Groovy scripts annotated with PicocliScript are transformed into a class that extends PicocliBaseScript.
PicocliScriptASTTransformation() - Constructor for class picocli.groovy.PicocliScriptASTTransformation
 
printErrorMessage(String) - Method in class picocli.groovy.PicocliBaseScript
Error messages that arise from command line processing call this.
printHelpMessage(CommandLine) - Method in class picocli.groovy.PicocliBaseScript
If an @Option whose usageHelp attribute is annotated as true appears in the arguments.
printHelpMessage(CommandLine, PrintStream) - Method in class picocli.groovy.PicocliBaseScript
If an @Option whose usageHelp attribute is annotated as true appears in the arguments.
printVersionHelpMessage(CommandLine) - Method in class picocli.groovy.PicocliBaseScript
If an @Option whose versionHelp attribute is annotated as true appears in the arguments.

R

run() - Method in class picocli.groovy.PicocliBaseScript
Parses the command line and initializes @Field variables annotated with @Option or @Parameters before executing the script body.
runRunnableSubcommand(List<CommandLine>) - Method in class picocli.groovy.PicocliBaseScript
If the most specific subcommand (the last CommandLine object in the list) implements Runnable or Callable, then run it.
runScriptBody() - Method in class picocli.groovy.PicocliBaseScript
The script body.

V

visit(ASTNode[], SourceUnit) - Method in class picocli.groovy.PicocliScriptASTTransformation
 
C G H P R V 
Skip navigation links