2013-12-26 10:40:52 -08:00
|
|
|
#!/usr/bin/env php
|
|
|
|
<?php
|
|
|
|
|
|
|
|
$root = dirname(dirname(dirname(__FILE__)));
|
|
|
|
require_once $root.'/scripts/__init_script__.php';
|
|
|
|
|
|
|
|
$args = new PhutilArgumentParser($argv);
|
2015-05-22 17:27:56 +10:00
|
|
|
$args->setTagline(pht('manage Harbormaster'));
|
2013-12-26 10:40:52 -08:00
|
|
|
$args->setSynopsis(<<<EOSYNOPSIS
|
|
|
|
**harbormaster** __command__ [__options__]
|
|
|
|
Manage and debug Harbormaster.
|
|
|
|
|
|
|
|
EOSYNOPSIS
|
|
|
|
);
|
|
|
|
$args->parseStandardArguments();
|
|
|
|
|
|
|
|
$workflows = id(new PhutilSymbolLoader())
|
|
|
|
->setAncestorClass('HarbormasterManagementWorkflow')
|
|
|
|
->loadObjects();
|
|
|
|
$workflows[] = new PhutilHelpArgumentWorkflow();
|
|
|
|
$args->parseWorkflows($workflows);
|