2014-05-25 18:54:12 +02:00
|
|
|
#!/usr/bin/env php
|
|
|
|
<?php
|
|
|
|
|
|
|
|
$root = dirname(dirname(dirname(__FILE__)));
|
|
|
|
require_once $root.'/scripts/__init_script__.php';
|
|
|
|
|
|
|
|
$args = new PhutilArgumentParser($argv);
|
2015-05-22 09:27:56 +02:00
|
|
|
$args->setTagline(pht('manage hunks'));
|
2014-05-25 18:54:12 +02:00
|
|
|
$args->setSynopsis(<<<EOSYNOPSIS
|
|
|
|
**hunks** __command__ [__options__]
|
|
|
|
Manage Differential hunk storage.
|
|
|
|
|
|
|
|
EOSYNOPSIS
|
|
|
|
);
|
|
|
|
$args->parseStandardArguments();
|
|
|
|
|
|
|
|
$workflows = id(new PhutilSymbolLoader())
|
|
|
|
->setAncestorClass('PhabricatorHunksManagementWorkflow')
|
|
|
|
->loadObjects();
|
|
|
|
$workflows[] = new PhutilHelpArgumentWorkflow();
|
|
|
|
$args->parseWorkflows($workflows);
|