3 final class NuanceManagementUpdateWorkflow
4 extends NuanceManagementWorkflow
{
6 protected function didConstruct() {
9 ->setExamples('**update** --item __item__ [__options__]')
10 ->setSynopsis(pht('Update or route an item.'))
16 'help' => pht('Choose which item to route.'),
21 public function execute(PhutilArgumentParser
$args) {
22 $item = $this->loadItem($args, 'item');
24 PhabricatorWorker
::setRunAllTasksInProcess(true);
25 $item->scheduleUpdate();