Differential D10585 Diff 25583 src/applications/fact/management/PhabricatorFactManagementCursorsWorkflow.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/fact/management/PhabricatorFactManagementCursorsWorkflow.php
| Show All 11 Lines | $this | ||||
| "**cursors** --reset __cursor__") | "**cursors** --reset __cursor__") | ||||
| ->setArguments( | ->setArguments( | ||||
| array( | array( | ||||
| array( | array( | ||||
| 'name' => 'reset', | 'name' => 'reset', | ||||
| 'param' => 'cursor', | 'param' => 'cursor', | ||||
| 'repeat' => true, | 'repeat' => true, | ||||
| 'help' => 'Reset cursor __cursor__.', | 'help' => 'Reset cursor __cursor__.', | ||||
| ) | ), | ||||
| )); | )); | ||||
| } | } | ||||
| public function execute(PhutilArgumentParser $args) { | public function execute(PhutilArgumentParser $args) { | ||||
| $console = PhutilConsole::getConsole(); | $console = PhutilConsole::getConsole(); | ||||
| $reset = $args->getArg('reset'); | $reset = $args->getArg('reset'); | ||||
| if ($reset) { | if ($reset) { | ||||
| Show All 38 Lines | |||||