Annotation Type CLIMethod
@Indexed @Retention(RUNTIME) @Target(METHOD) @Documented public @interface CLIMethodAnnotates methods on model objects to expose them as CLI commands.
You need to have
Messages.propertiesin the same package with the
CLI.<i>command-name</i>.shortDescriptionkey to describe the command. This is used for the same purpose as
A CLI method can have its parameters annotated with
Argument, to receive parameter/argument injections.
A CLI method needs to be public.
- Kohsuke Kawaguchi
- See Also: