public class BuckCommand extends AbstractContainerCommand
commandArgsFile
Constructor and Description |
---|
BuckCommand() |
Modifier and Type | Method and Description |
---|---|
protected String |
getContainerCommandPrefix() |
String |
getShortDescription() |
Optional<Command> |
getSubcommand() |
String |
getSubCommandNameForLogging() |
boolean |
isReadOnly() |
boolean |
isSourceControlStatsGatheringEnabled() |
Optional<ExitCode> |
runHelp(PrintStream stream)
If the current command is a help command, run the action to print out the appropriate help
message.
|
createParsingContext, getConfigOverrides, getEventListeners, getHostPlatform, getLogConfig, getSubcommandsFieldName, getTargetPlatforms, performsBuild, printUsage, run
getPluginManager, setPluginManager
public Optional<ExitCode> runHelp(PrintStream stream)
Command
This is an optimization to avoid initializing everything in CommandRunnerParams, in order to return help strings quickly.
runHelp
in interface Command
runHelp
in class AbstractContainerCommand
stream
- stream to output the help text.public boolean isReadOnly()
public String getShortDescription()
protected String getContainerCommandPrefix()
getContainerCommandPrefix
in class AbstractContainerCommand
public Optional<Command> getSubcommand()
getSubcommand
in class AbstractContainerCommand
public String getSubCommandNameForLogging()
public boolean isSourceControlStatsGatheringEnabled()
isSourceControlStatsGatheringEnabled
in interface Command
isSourceControlStatsGatheringEnabled
in class AbstractContainerCommand