2013-05-14 20:00:56 +02:00
|
|
|
<?php
|
2014-07-09 01:12:13 +02:00
|
|
|
|
2013-05-14 20:00:56 +02:00
|
|
|
/**
|
2014-07-09 01:12:13 +02:00
|
|
|
* Redirects to `arc backout` workflow.
|
2013-05-14 20:00:56 +02:00
|
|
|
*/
|
|
|
|
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");
|
|
|
|
}
|
2014-07-09 01:12:13 +02:00
|
|
|
|
2013-05-14 20:00:56 +02:00
|
|
|
}
|