Uses of Class
readycli.Command
-
Uses of Command in readycli
Methods in readycli that return Command Modifier and Type Method Description Command
Command.Builder. build(CommandExecutor commandExecutor)
Builds the new command.Methods in readycli that return types with arguments of type Command Modifier and Type Method Description java.util.Map<java.lang.String,Command>
Command. getSubCommands()
Gets a map of all the sub-commands of first level of this command.Methods in readycli with parameters of type Command Modifier and Type Method Description CLI
CLI. addCommand(java.lang.String name, Command command)
Adds a command to theCLI
.Command.Builder
Command.Builder. addSubCommand(java.lang.String name, Command subCommand)
Adds asub-command
that can be invoked by specifying it as the first argument of the current command.