Give Phame blogs mutable interact policies
[phabricator.git] / scripts / setup / manage_policy.php
blob3e36592abc0235e39499725cc0c5292592805f15
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('manage policies'));
9 $args->setSynopsis(<<<EOSYNOPSIS
10 **policy** __command__ [__options__]
11 Administrative tool for reviewing and editing policies.
13 EOSYNOPSIS
15 $args->parseStandardArguments();
17 $workflows = id(new PhutilClassMapQuery())
18 ->setAncestorClass('PhabricatorPolicyManagementWorkflow')
19 ->execute();
20 $workflows[] = new PhutilHelpArgumentWorkflow();
21 $args->parseWorkflows($workflows);