Add a basic "harbormaster.step.edit" API method
[phabricator/blender.git] / scripts / daemon / manage_daemons.php
blob793bd608d3ac274104f6ffe5eb2fdba61716938f
1 #!/usr/bin/env php
2 <?php
4 $root = dirname(dirname(dirname(__FILE__)));
5 require_once $root.'/scripts/__init_script__.php';
7 PhabricatorDaemonManagementWorkflow::requireExtensions();
9 $args = new PhutilArgumentParser($argv);
10 $args->setTagline(pht('manage daemons'));
11 $args->setSynopsis(<<<EOSYNOPSIS
12 **phd** __command__ [__options__]
13 Manage Phabricator daemons.
15 EOSYNOPSIS
17 $args->parseStandardArguments();
19 $workflows = id(new PhutilClassMapQuery())
20 ->setAncestorClass('PhabricatorDaemonManagementWorkflow')
21 ->execute();
22 $workflows[] = new PhutilHelpArgumentWorkflow();
23 $args->parseWorkflows($workflows);