Copy file attachment edges to new storage
[phabricator.git] / scripts / cache / manage_cache.php
blob002ba2be58a5cd7728b97ed5f8e2d66bcc699d5f
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 cache'));
9 $args->setSynopsis(<<<EOSYNOPSIS
10 **cache** __command__ [__options__]
11 Manage Phabricator caches.
13 EOSYNOPSIS
15 $args->parseStandardArguments();
17 $workflows = id(new PhutilClassMapQuery())
18 ->setAncestorClass('PhabricatorCacheManagementWorkflow')
19 ->execute();
20 $workflows[] = new PhutilHelpArgumentWorkflow();
21 $args->parseWorkflows($workflows);