@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at recaptime-dev/main 30 lines 688 B view raw
1<?php 2 3final class NuanceManagementUpdateWorkflow 4 extends NuanceManagementWorkflow { 5 6 protected function didConstruct() { 7 $this 8 ->setName('update') 9 ->setExamples('**update** --item __item__ [__options__]') 10 ->setSynopsis(pht('Update or route an item.')) 11 ->setArguments( 12 array( 13 array( 14 'name' => 'item', 15 'param' => 'item', 16 'help' => pht('Choose which item to route.'), 17 ), 18 )); 19 } 20 21 public function execute(PhutilArgumentParser $args) { 22 $item = $this->loadItem($args, 'item'); 23 24 PhabricatorWorker::setRunAllTasksInProcess(true); 25 $item->scheduleUpdate(); 26 27 return 0; 28 } 29 30}