2013-03-30 23:53:49 +01:00
|
|
|
#!/usr/bin/env php
|
|
|
|
<?php
|
|
|
|
|
|
|
|
$root = dirname(dirname(dirname(__FILE__)));
|
|
|
|
require_once $root.'/scripts/__init_script__.php';
|
|
|
|
|
|
|
|
$args = new PhutilArgumentParser($argv);
|
|
|
|
$args->setTagline('manage mail');
|
|
|
|
$args->setSynopsis(<<<EOSYNOPSIS
|
|
|
|
**mail** __command__ [__options__]
|
|
|
|
Manage Phabricator mail stuff.
|
|
|
|
|
|
|
|
EOSYNOPSIS
|
|
|
|
);
|
|
|
|
$args->parseStandardArguments();
|
|
|
|
|
|
|
|
$workflows = array(
|
|
|
|
new PhabricatorMailManagementResendWorkflow(),
|
|
|
|
new PhutilHelpArgumentWorkflow(),
|
2013-05-20 19:13:42 +02:00
|
|
|
new PhabricatorMailManagementShowOutboundWorkflow(),
|
|
|
|
new PhabricatorMailManagementShowInboundWorkflow(),
|
2013-07-11 00:13:24 +02:00
|
|
|
new PhabricatorMailManagementReceiveTestWorkflow(),
|
2013-03-30 23:53:49 +01:00
|
|
|
);
|
|
|
|
|
|
|
|
$args->parseWorkflows($workflows);
|