3 final class PhabricatorDaemonManagementListWorkflow
4 extends PhabricatorDaemonManagementWorkflow
{
6 protected function didConstruct() {
9 ->setSynopsis(pht('Show a list of available daemons.'))
10 ->setArguments(array());
13 public function execute(PhutilArgumentParser
$args) {
14 $console = PhutilConsole
::getConsole();
16 $symbols = $this->loadAvailableDaemonClasses();
17 $symbols = igroup($symbols, 'library');
19 foreach ($symbols as $library => $symbol_list) {
20 $console->writeOut(pht('Daemons in library __%s__:', $library)."\n");
21 foreach ($symbol_list as $symbol) {
22 $console->writeOut(" %s\n", $symbol['name']);
24 $console->writeOut("\n");