程序包 org.springframework.boot.cli.command
Command infrastructure for the CLI.
接口概要 接口 说明 Command A single command that can be run from the CLI.CommandFactory Factory used to create CLICommand
s.类概要 类 说明 AbstractCommand AbstractCommand
implementation.CommandRunner Main class used to runCommand
s.HelpExample An example that can be displayed in the help.OptionParsingCommand Base class for aCommand
that parse options using anOptionHandler
.枚举概要 枚举 说明 CommandException.Option Specific options understood by theCommandRunner
.异常错误概要 异常错误 说明 CommandException Runtime exception wrapper that defines additionalCommandException.Option
s that are understood by theCommandRunner
.NoHelpCommandArgumentsException Exception used to when the help command is called without arguments.NoSuchCommandException Exception used when a command is not found.