public class HelpCommand extends AbstractCommand
commandArgsFile
Constructor and Description |
---|
HelpCommand() |
Modifier and Type | Method and Description |
---|---|
String |
getShortDescription() |
boolean |
isReadOnly() |
void |
printUsage(PrintStream stream) |
ExitCode |
run(PrintStream stream)
This overload runs the actual help subcommand.
|
ExitCode |
runWithoutHelp(CommandRunnerParams params) |
addCommandSpecificConfigOverrides, convertArgumentsToBuildTargets, createParsingContext, getCommandArgsFile, getCommandLineBuildTargetNormalizer, getConcurrencyLimit, getConfigOverrides, getEnableParserProfiling, getEventListeners, getEventsOutputPath, getExcludeIncompatibleTargets, getExecutionContext, getExecutionContextBuilder, getHostPlatform, getLogConfig, getTargetPlatforms, handleException, handleException, isNoCache, isReuseCurrentConfig, isSourceControlStatsGatheringEnabled, matchBuildTargetsWithLabelsFromSpecs, performsBuild, prepareExecutionContext, printWarning, printWarning, run, runHelp
getPluginManager, setPluginManager
public boolean isReadOnly()
public String getShortDescription()
public ExitCode runWithoutHelp(CommandRunnerParams params)
runWithoutHelp
in class AbstractCommand
public ExitCode run(PrintStream stream)
Used by BuckCommand.runHelp(java.io.PrintStream)
to run the help subcommand without initializing CommandRunnerParams
.
public void printUsage(PrintStream stream)
printUsage
in interface Command
printUsage
in class AbstractCommand