2014-01-01 03:02:41 +01:00
|
|
|
#!/usr/bin/env php
|
|
|
|
<?php
|
|
|
|
|
|
|
|
$root = dirname(dirname(dirname(__FILE__)));
|
2021-11-19 18:43:44 +01:00
|
|
|
require_once $root.'/scripts/init/init-setup.php';
|
2014-01-01 03:02:41 +01:00
|
|
|
|
|
|
|
$args = new PhutilArgumentParser($argv);
|
2015-05-22 09:27:56 +02:00
|
|
|
$args->setTagline(pht('manage celerity'));
|
2014-01-01 03:02:41 +01:00
|
|
|
$args->setSynopsis(<<<EOSYNOPSIS
|
|
|
|
**celerity** __command__ [__options__]
|
|
|
|
Manage static resources.
|
|
|
|
|
|
|
|
EOSYNOPSIS
|
|
|
|
);
|
|
|
|
$args->parseStandardArguments();
|
|
|
|
|
2015-08-13 23:49:00 +02:00
|
|
|
$workflows = id(new PhutilClassMapQuery())
|
2014-01-01 03:02:41 +01:00
|
|
|
->setAncestorClass('CelerityManagementWorkflow')
|
2015-08-13 23:49:00 +02:00
|
|
|
->execute();
|
2014-01-01 03:02:41 +01:00
|
|
|
$workflows[] = new PhutilHelpArgumentWorkflow();
|
|
|
|
$args->parseWorkflows($workflows);
|