Differential D17638 Diff 42422 src/applications/drydock/management/DrydockManagementLeaseWorkflow.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/drydock/management/DrydockManagementLeaseWorkflow.php
Show All 16 Lines | $this | ||||
array( | array( | ||||
'name' => 'until', | 'name' => 'until', | ||||
'param' => 'time', | 'param' => 'time', | ||||
'help' => pht('Set lease expiration time.'), | 'help' => pht('Set lease expiration time.'), | ||||
), | ), | ||||
array( | array( | ||||
'name' => 'attributes', | 'name' => 'attributes', | ||||
'param' => 'name=value,...', | 'param' => 'name=value,...', | ||||
'help' => pht('Resource specficiation.'), | 'help' => pht('Resource specification.'), | ||||
), | ), | ||||
)); | )); | ||||
} | } | ||||
public function execute(PhutilArgumentParser $args) { | public function execute(PhutilArgumentParser $args) { | ||||
$viewer = $this->getViewer(); | $viewer = $this->getViewer(); | ||||
$resource_type = $args->getArg('type'); | $resource_type = $args->getArg('type'); | ||||
▲ Show 20 Lines • Show All 69 Lines • Show Last 20 Lines |