Remove product literal strings in "pht()", part 21
[phabricator.git] / scripts / mail / manage_mail.php
blob12b907a2ee9d6de5a52d39980eea9d21f8ed902d
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('manage mail'));
9 $args->setSynopsis(<<<EOSYNOPSIS
10 **mail** __command__ [__options__]
11 Manage Phabricator mail stuff.
13 EOSYNOPSIS
15 $args->parseStandardArguments();
17 $workflows = id(new PhutilClassMapQuery())
18 ->setAncestorClass('PhabricatorMailManagementWorkflow')
19 ->execute();
20 $workflows[] = new PhutilHelpArgumentWorkflow();
21 $args->parseWorkflows($workflows);