int run(InputInterface $input,
setApplication(Application $application = null)
Command setAliases(string[] $aliases)
array getUsages() Returns alternative usages of the command.
mixed getHelper(string $name) Gets a helper instance by name.
Command addUsage(string $usage)
mergeApplicationDefinition(bool $mergeArgs = true) Merges the application definition with the command
InputDefinition getNativeDefinition()
string getProcessedHelp() Returns the processed help for the command replacing the %command.name%
Command addOption(string $name, string $shortcut
Page 2 of 4