2013-04-12 23:07:15 +02:00
|
|
|
#!/usr/bin/env php
|
|
|
|
<?php
|
|
|
|
|
|
|
|
$root = dirname(dirname(dirname(__FILE__)));
|
|
|
|
require_once $root.'/scripts/__init_script__.php';
|
|
|
|
|
|
|
|
$args = new PhutilArgumentParser($argv);
|
2015-12-24 13:49:25 +01:00
|
|
|
$args->setTagline(pht('synthetic data generator'));
|
2013-04-12 23:07:15 +02:00
|
|
|
$args->setSynopsis(<<<EOSYNOPSIS
|
|
|
|
**lipsum** __command__ [__options__]
|
2015-12-24 13:49:25 +01:00
|
|
|
Generate synthetic test data to make development easier.
|
2013-04-12 23:07:15 +02:00
|
|
|
|
|
|
|
EOSYNOPSIS
|
|
|
|
);
|
|
|
|
$args->parseStandardArguments();
|
|
|
|
|
2015-08-13 23:49:00 +02:00
|
|
|
$workflows = id(new PhutilClassMapQuery())
|
2013-12-27 22:15:48 +01:00
|
|
|
->setAncestorClass('PhabricatorLipsumManagementWorkflow')
|
2015-08-13 23:49:00 +02:00
|
|
|
->execute();
|
2013-12-27 22:15:48 +01:00
|
|
|
$workflows[] = new PhutilHelpArgumentWorkflow();
|
2013-04-12 23:07:15 +02:00
|
|
|
$args->parseWorkflows($workflows);
|