public class NoRunCliktCommand extends CliktCommand
A class CliktCommand that has a default implementation of CliktCommand.run that is a no-op.
class CliktCommand,
CliktCommand.run| Constructor and Description |
|---|
NoRunCliktCommand(java.lang.String help,
java.lang.String epilog,
java.lang.String name,
boolean invokeWithoutSubcommand,
boolean printHelpOnEmptyArgs,
java.util.Map<java.lang.String,java.lang.String> helpTags,
java.lang.String autoCompleteEnvvar)
A
class CliktCommand that has a default implementation of CliktCommand.run that is a no-op. |
NoRunCliktCommand()
A
class CliktCommand that has a default implementation of CliktCommand.run that is a no-op. |
| Modifier and Type | Method and Description |
|---|---|
void |
run()
Perform actions after parsing is complete and this command is invoked.
|
aliases, echo, getCommandHelp, getCommandHelpEpilog, getCommandName, getContext, getFormattedHelp, getFormattedUsage, getHelpTags, getInvokeWithoutSubcommand, getMessages, getPrintHelpOnEmptyArgs, issueMessage, main, main, parse, parse, registerArgument, registerOption, registerOption, registerOptionGroup, registeredSubcommandNames, run, shortHelp, toStringregisterOptionpublic NoRunCliktCommand(@NotNull
java.lang.String help,
@NotNull
java.lang.String epilog,
@Nullable
java.lang.String name,
boolean invokeWithoutSubcommand,
boolean printHelpOnEmptyArgs,
@NotNull
java.util.Map<java.lang.String,java.lang.String> helpTags,
@Nullable
java.lang.String autoCompleteEnvvar)
A class CliktCommand that has a default implementation of CliktCommand.run that is a no-op.
class CliktCommand,
CliktCommand.runpublic NoRunCliktCommand()
A class CliktCommand that has a default implementation of CliktCommand.run that is a no-op.
class CliktCommand,
CliktCommand.runpublic void run()
Perform actions after parsing is complete and this command is invoked.
This is called after command line parsing is complete. If this command is a subcommand, this will only be called if the subcommand is invoked.
If one of this command's subcommands is invoked, this is called before the subcommand's arguments are parsed.