[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/bin/ -> aphlict (source)

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


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