mirror of
https://we.phorge.it/source/arcanist.git
synced 2025-01-23 13:08:17 +01:00
38 lines
680 B
PHP
38 lines
680 B
PHP
|
<?php
|
||
|
/**
|
||
|
* Redirects to arc backout workflow
|
||
|
* @group workflow
|
||
|
*/
|
||
|
|
||
|
final class ArcanistRevertWorkflow extends ArcanistBaseWorkflow {
|
||
|
|
||
|
public function getWorkflowName() {
|
||
|
return 'revert';
|
||
|
}
|
||
|
|
||
|
public function getCommandSynopses() {
|
||
|
return phutil_console_format(<<<EOTEXT
|
||
|
**revert**
|
||
|
EOTEXT
|
||
|
);
|
||
|
}
|
||
|
|
||
|
public function getCommandHelp() {
|
||
|
return phutil_console_format(<<<EOTEXT
|
||
|
Please use arc backout instead
|
||
|
EOTEXT
|
||
|
);
|
||
|
}
|
||
|
|
||
|
public function getArguments() {
|
||
|
return array(
|
||
|
'*' => 'input',
|
||
|
);
|
||
|
}
|
||
|
|
||
|
public function run() {
|
||
|
$console = PhutilConsole::getConsole();
|
||
|
$console->writeOut("Please use arc backout instead.\n");
|
||
|
}
|
||
|
}
|