@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
at recaptime-dev/main 22 lines 642 B view raw
1#!/usr/bin/env php 2<?php 3 4$root = dirname(dirname(dirname(__FILE__))); 5require_once $root.'/scripts/__init_script__.php'; 6 7$args = new PhutilArgumentParser($argv); 8$args->setTagline(pht('manage fact configuration')); 9$args->setSynopsis(pht(<<<EOSYNOPSIS 10**fact** __command__ [__options__] 11 Manage and debug data extraction, storage and 12 configuration used to compute statistics. 13 14EOSYNOPSIS 15 )); 16$args->parseStandardArguments(); 17 18$workflows = id(new PhutilClassMapQuery()) 19 ->setAncestorClass(PhabricatorFactManagementWorkflow::class) 20 ->execute(); 21$workflows[] = new PhutilHelpArgumentWorkflow(); 22$args->parseWorkflows($workflows);