[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/bin/ -> repository (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 repositories');
   9  $args->setSynopsis(<<<EOSYNOPSIS
  10  **repository** __command__ [__options__]
  11      Manage and debug Phabricator repository configuration, tracking,
  12      discovery and import.
  13  
  14  EOSYNOPSIS
  15    );
  16  $args->parseStandardArguments();
  17  
  18  $workflows = id(new PhutilSymbolLoader())
  19    ->setAncestorClass('PhabricatorRepositoryManagementWorkflow')
  20    ->loadObjects();
  21  $workflows[] = new PhutilHelpArgumentWorkflow();
  22  $args->parseWorkflows($workflows);


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