Changeset View
Changeset View
Standalone View
Standalone View
src/workflow/ArcanistLiberateWorkflow.php
<?php | <?php | ||||
final class ArcanistLiberateWorkflow | final class ArcanistLiberateWorkflow | ||||
extends ArcanistArcWorkflow { | extends ArcanistArcWorkflow { | ||||
public function getWorkflowName() { | public function getWorkflowName() { | ||||
return 'liberate'; | return 'liberate'; | ||||
} | } | ||||
public function getWorkflowInformation() { | public function getWorkflowInformation() { | ||||
// TOOLSETS: Expand this help. | // TOOLSETS: Expand this help. | ||||
$help = pht(<<<EOTEXT | $help = pht(<<<EOTEXT | ||||
Create or update an Arcanist library. | Create or update a library. | ||||
EOTEXT | EOTEXT | ||||
); | ); | ||||
return $this->newWorkflowInformation() | return $this->newWorkflowInformation() | ||||
->setSynopsis( | ->setSynopsis( | ||||
pht('Create or update an Arcanist library.')) | pht('Create or update a library.')) | ||||
->addExample(pht('**liberate**')) | ->addExample(pht('**liberate**')) | ||||
->addExample(pht('**liberate** [__path__]')) | ->addExample(pht('**liberate** [__path__]')) | ||||
->setHelp($help); | ->setHelp($help); | ||||
} | } | ||||
public function getWorkflowArguments() { | public function getWorkflowArguments() { | ||||
return array( | return array( | ||||
$this->newWorkflowArgument('clean') | $this->newWorkflowArgument('clean') | ||||
▲ Show 20 Lines • Show All 215 Lines • Show Last 20 Lines |