[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/bin/ -> mail (source)

   1  #!/usr/bin/env php
   2  <?php
   3  
   4  $root = dirname(dirname(dirname(__FILE__)));
   5  require_once $root.'/scripts/__init_script__.php';
   6  
   7  $args = new PhutilArgumentParser($argv);
   8  $args->setTagline('manage mail');
   9  $args->setSynopsis(<<<EOSYNOPSIS
  10  **mail** __command__ [__options__]
  11      Manage Phabricator mail stuff.
  12  
  13  EOSYNOPSIS
  14    );
  15  $args->parseStandardArguments();
  16  
  17  $workflows = id(new PhutilSymbolLoader())
  18    ->setAncestorClass('PhabricatorMailManagementWorkflow')
  19    ->loadObjects();
  20  $workflows[] = new PhutilHelpArgumentWorkflow();
  21  $args->parseWorkflows($workflows);


Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1