Changeset View
Changeset View
Standalone View
Standalone View
src/toolset/workflow/ArcanistAliasWorkflow.php
| Show First 20 Lines • Show All 71 Lines • ▼ Show 20 Lines | |||||
| itself, and if you install a new workflow it will take precedence over any | itself, and if you install a new workflow it will take precedence over any | ||||
| existing aliases with the same name. | existing aliases with the same name. | ||||
| EOTEXT | EOTEXT | ||||
| ); | ); | ||||
| return $this->newWorkflowInformation() | return $this->newWorkflowInformation() | ||||
| ->addExample(pht('**alias**')) | ->addExample(pht('**alias**')) | ||||
| ->addExample(pht('**alias** __command__')) | ->addExample(pht('**alias** __command__')) | ||||
| ->addExample(pht('**alias** __command__ __target__ -- [__options__]')) | ->addExample(pht('**alias** __command__ __target__ -- [__arguments__]')) | ||||
| ->setHelp($help); | ->setHelp($help); | ||||
| } | } | ||||
| public function getWorkflowArguments() { | public function getWorkflowArguments() { | ||||
| return array( | return array( | ||||
| $this->newWorkflowArgument('json') | $this->newWorkflowArgument('json') | ||||
| ->setHelp(pht('Output aliases in JSON format.')), | ->setHelp(pht('Output aliases in JSON format.')), | ||||
| $this->newWorkflowArgument('argv') | $this->newWorkflowArgument('argv') | ||||
| ▲ Show 20 Lines • Show All 112 Lines • Show Last 20 Lines | |||||