21 lines
		
	
	
		
			526 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
		
		
			
		
	
	
			21 lines
		
	
	
		
			526 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
|   | #!/usr/bin/env php
 | ||
|  | <?php | ||
|  | 
 | ||
|  | $root = dirname(dirname(dirname(__FILE__))); | ||
|  | require_once $root.'/scripts/__init_script__.php'; | ||
|  | 
 | ||
|  | $args = new PhutilArgumentParser($argv); | ||
|  | $args->setSynopsis(<<<EOSYNOPSIS | ||
|  | **people** __command__ [__options__] | ||
|  |     Manage user profiles and accounts. | ||
|  | 
 | ||
|  | EOSYNOPSIS | ||
|  |   ); | ||
|  | $args->parseStandardArguments(); | ||
|  | 
 | ||
|  | $workflows = id(new PhutilClassMapQuery()) | ||
|  |   ->setAncestorClass('PhabricatorPeopleManagementWorkflow') | ||
|  |   ->execute(); | ||
|  | $workflows[] = new PhutilHelpArgumentWorkflow(); | ||
|  | $args->parseWorkflows($workflows); |