@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at recaptime-dev/main 30 lines 676 B view raw
1<?php 2 3final class PhabricatorFilesManagementEnginesWorkflow 4 extends PhabricatorFilesManagementWorkflow { 5 6 protected function didConstruct() { 7 $this 8 ->setName('engines') 9 ->setSynopsis(pht('List available storage engines.')) 10 ->setArguments(array()); 11 } 12 13 public function execute(PhutilArgumentParser $args) { 14 $console = PhutilConsole::getConsole(); 15 16 $engines = PhabricatorFile::buildAllEngines(); 17 if (!$engines) { 18 throw new Exception(pht('No storage engines are available.')); 19 } 20 21 foreach ($engines as $engine) { 22 $console->writeOut( 23 "%s\n", 24 $engine->getEngineIdentifier()); 25 } 26 27 return 0; 28 } 29 30}