final public function __construct()Inherited
this | //Implicit.// |
public function setName($name)Inherited
$name |
wild |
public function getName()Inherited
wild |
final public function setExamples($examples)Inherited
Provide brief usage examples of common calling conventions, like:
$workflow->setExamples("**delete** __file__ [__options__]");
This text is shown in both brief and detailed help, and should give the user a quick reference for common uses. You can separate several common uses with newlines, but usually should not provide more than 2-3 examples.
$examples |
wild |
final public function getExamples()Inherited
wild |
final public function setSynopsis($synopsis)Inherited
Provide a brief description of the command, like "Delete a file.".
This text is shown in both brief and detailed help, and should give the user a general idea of what the workflow does.
$synopsis |
wild |
final public function getSynopsis()Inherited
wild |
final public function getHelp()Inherited
Provide a full explanation of the command. This text is shown only in detailed help.
wild |
final public function setHelp($help)Inherited
$help |
wild |
final public function setArguments($specs)Inherited
array | $specs |
wild |
final public function getArguments()Inherited
wild |
final public function setArgv($argv)Inherited
PhutilArgumentParser | $argv |
wild |
final public function getArgv()Inherited
wild |
protected function didConstruct()Inherited
wild |
public function isExecutable()
wild |
public function execute($args)Inherited
PhutilArgumentParser | $args |
wild |
public function shouldParsePartial()Inherited
Normally, workflow arguments are parsed fully, so unexpected arguments will raise an error. You can return true from this method to parse workflow arguments only partially. This will allow you to manually parse remaining arguments or delegate to a second level of workflows.
bool | True to partially parse workflow arguments (default false). |
public function setErrorChannel($error_channel)
PhutilChannel | $error_channel |
wild |
public function getErrorChannel()
wild |
public function setSSHUser($ssh_user)
PhabricatorUser | $ssh_user |
wild |
public function getSSHUser()
wild |
public function setIOChannel($channel)
PhutilChannel | $channel |
wild |
public function getIOChannel()
wild |
public function readAllInput()
wild |
public function writeIO($data)
$data |
wild |
public function writeErrorIO($data)
$data |
wild |
protected function newPassthruCommand()
wild |
public function setIsClusterRequest($is_cluster_request)
$is_cluster_request |
wild |
public function getIsClusterRequest()
wild |
public function setOriginalArguments($original_arguments)
array | $original_arguments |
wild |
public function getOriginalArguments()
wild |
public function setRequestIdentifier($request_identifier)
$request_identifier |
wild |
public function getRequestIdentifier()
wild |
public function getSSHRemoteAddress()
wild |