2013-05-20 19:16:35 +02:00
|
|
|
#!/usr/bin/env php
|
|
|
|
<?php
|
|
|
|
|
|
|
|
$root = dirname(dirname(dirname(__FILE__)));
|
|
|
|
require_once $root.'/scripts/__init_script__.php';
|
|
|
|
|
|
|
|
$args = new PhutilArgumentParser($argv);
|
2013-11-21 14:59:42 +01:00
|
|
|
$args->setTagline('manage cache');
|
2013-05-20 19:16:35 +02:00
|
|
|
$args->setSynopsis(<<<EOSYNOPSIS
|
|
|
|
**cache** __command__ [__options__]
|
|
|
|
Manage Phabricator caches.
|
|
|
|
|
|
|
|
EOSYNOPSIS
|
|
|
|
);
|
|
|
|
$args->parseStandardArguments();
|
|
|
|
|
|
|
|
$workflows = array(
|
|
|
|
new PhabricatorCacheManagementPurgeWorkflow(),
|
|
|
|
new PhutilHelpArgumentWorkflow(),
|
|
|
|
);
|
|
|
|
|
|
|
|
$args->parseWorkflows($workflows);
|