Remove product literal strings in "pht()", part 12
[phabricator.git] / scripts / diviner / diviner.php
blobfa4c19caa76cc406aee315a3e96118aed5b63a0f
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);
9 $args->setTagline(pht('documentation generator'));
10 $args->setSynopsis(<<<EOHELP
11 **diviner** __command__ [__options__]
12 Generate documentation.
13 EOHELP
15 $args->parseStandardArguments();
17 $workflows = id(new PhutilClassMapQuery())
18 ->setAncestorClass('DivinerWorkflow')
19 ->execute();
20 $workflows[] = new PhutilHelpArgumentWorkflow();
21 $args->parseWorkflows($workflows);