Differential D15987 Diff 38486 src/infrastructure/storage/management/workflow/PhabricatorStorageManagementRenamespaceWorkflow.php
Changeset View
Changeset View
Standalone View
Standalone View
src/infrastructure/storage/management/workflow/PhabricatorStorageManagementRenamespaceWorkflow.php
Show All 24 Lines | $this | ||||
array( | array( | ||||
'name' => 'to', | 'name' => 'to', | ||||
'param' => 'namespace', | 'param' => 'namespace', | ||||
'help' => pht('Desired database namespace for output.'), | 'help' => pht('Desired database namespace for output.'), | ||||
), | ), | ||||
)); | )); | ||||
} | } | ||||
protected function isReadOnlyWorkflow() { | |||||
return true; | |||||
} | |||||
public function didExecute(PhutilArgumentParser $args) { | public function didExecute(PhutilArgumentParser $args) { | ||||
$console = PhutilConsole::getConsole(); | $console = PhutilConsole::getConsole(); | ||||
$in = $args->getArg('in'); | $in = $args->getArg('in'); | ||||
if (!strlen($in)) { | if (!strlen($in)) { | ||||
throw new PhutilArgumentUsageException( | throw new PhutilArgumentUsageException( | ||||
pht( | pht( | ||||
'Specify the dumpfile to read with %s.', | 'Specify the dumpfile to read with %s.', | ||||
▲ Show 20 Lines • Show All 60 Lines • Show Last 20 Lines |