Correct Aphlict websocket URI construction after PHP8 compatibility changes
[phabricator.git] / scripts / drydock / drydock_control.php
blobf22032b2869b9d1e78c46b6a2034f54ac220db20
1 #!/usr/bin/env php
2 <?php
4 $root = dirname(dirname(dirname(__FILE__)));
5 require_once $root.'/scripts/init/init-script-with-signals.php';
7 $args = new PhutilArgumentParser($argv);
8 $args->setTagline(pht('manage drydock software resources'));
9 $args->setSynopsis(<<<EOSYNOPSIS
10 **drydock** __commmand__ [__options__]
11 Manage Drydock stuff. NEW AND EXPERIMENTAL.
13 EOSYNOPSIS
15 $args->parseStandardArguments();
17 $workflows = id(new PhutilClassMapQuery())
18 ->setAncestorClass('DrydockManagementWorkflow')
19 ->execute();
20 $workflows[] = new PhutilHelpArgumentWorkflow();
21 $args->parseWorkflows($workflows);