When acquiring a GlobalLock, put good connections that just got unlucky back in the...
[phabricator/blender.git] / scripts / lipsum / manage_lipsum.php
blob9d45b573d446d8563bfa5fe0a1693264649f9d89
1 #!/usr/bin/env php
2 <?php
4 $root = dirname(dirname(dirname(__FILE__)));
5 require_once $root.'/scripts/__init_script__.php';
7 $args = new PhutilArgumentParser($argv);
8 $args->setTagline(pht('synthetic data generator'));
9 $args->setSynopsis(<<<EOSYNOPSIS
10 **lipsum** __command__ [__options__]
11 Generate synthetic test data to make development easier.
13 EOSYNOPSIS
15 $args->parseStandardArguments();
17 $workflows = id(new PhutilClassMapQuery())
18 ->setAncestorClass('PhabricatorLipsumManagementWorkflow')
19 ->execute();
20 $workflows[] = new PhutilHelpArgumentWorkflow();
21 $args->parseWorkflows($workflows);