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.
17 $args->parseStandardArguments();
19 $workflows = id(new PhutilClassMapQuery())
20 ->setAncestorClass('PhabricatorDaemonManagementWorkflow')
22 $workflows[] = new PhutilHelpArgumentWorkflow();
23 $args->parseWorkflows($workflows);