Changeset View
Changeset View
Standalone View
Standalone View
support/aphlict/server/aphlict_launcher.php
| Show All 10 Lines | |||||
| $args->setSynopsis(<<<EOSYNOPSIS | $args->setSynopsis(<<<EOSYNOPSIS | ||||
| **aphlict** __command__ [__options__] | **aphlict** __command__ [__options__] | ||||
| Manage the Aphlict server. | Manage the Aphlict server. | ||||
| EOSYNOPSIS | EOSYNOPSIS | ||||
| ); | ); | ||||
| $args->parseStandardArguments(); | $args->parseStandardArguments(); | ||||
| $args->parseWorkflows(array( | $workflows = id(new PhutilSymbolLoader()) | ||||
| new PhabricatorAphlictManagementStatusWorkflow(), | ->setAncestorClass('PhabricatorAphlictManagementWorkflow') | ||||
| new PhabricatorAphlictManagementStartWorkflow(), | ->loadObjects(); | ||||
| new PhabricatorAphlictManagementStopWorkflow(), | $workflows[] = new PhutilHelpArgumentWorkflow(); | ||||
| new PhabricatorAphlictManagementRestartWorkflow(), | $args->parseWorkflows($workflows); | ||||
| new PhabricatorAphlictManagementDebugWorkflow(), | |||||
| new PhabricatorAphlictManagementBuildWorkflow(), | |||||
| new PhutilHelpArgumentWorkflow(), | |||||
| )); | |||||