Remove product literal strings in "pht()", part 12
[phabricator.git] / scripts / setup / manage_remove.php
blob9a49e8774d2be04f3846fa125cf4a890878a4a92
1 #!/usr/bin/env php
2 <?php
4 $root = dirname(dirname(dirname(__FILE__)));
5 require_once $root.'/scripts/__init_script__.php';
7 $args = new PhutilArgumentParser($argv);
8 $args->setTagline(pht('remove objects'));
9 $args->setSynopsis(<<<EOSYNOPSIS
10 **remove** __command__ [__options__]
11 Administrative tool for destroying objects permanently.
13 EOSYNOPSIS
15 $args->parseStandardArguments();
17 $workflows = id(new PhutilClassMapQuery())
18 ->setAncestorClass('PhabricatorSystemRemoveWorkflow')
19 ->execute();
20 $workflows[] = new PhutilHelpArgumentWorkflow();
21 $args->parseWorkflows($workflows);