Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2893075
manage_policy.php
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
590 B
Referenced Files
None
Subscribers
None
manage_policy.php
View Options
#!/usr/bin/env php
<?php
$root
=
dirname
(
dirname
(
dirname
(
__FILE__
)
)
)
;
require_once
$root
.
'/scripts/__init_script__.php'
;
$args
=
new
PhutilArgumentParser
(
$argv
)
;
$args
->
setTagline
(
pht
(
'manage policies'
)
)
;
$args
->
setSynopsis
(
<<<EOSYNOPSIS
**policy** __command__ [__options__]
Administrative tool for reviewing and editing policies.
EOSYNOPSIS
)
;
$args
->
parseStandardArguments
(
)
;
$workflows
=
id
(
new
PhutilClassMapQuery
(
)
)
->
setAncestorClass
(
'PhabricatorPolicyManagementWorkflow'
)
->
execute
(
)
;
$workflows
[
]
=
new
PhutilHelpArgumentWorkflow
(
)
;
$args
->
parseWorkflows
(
$workflows
)
;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 19, 17:48 (1 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1127131
Default Alt Text
manage_policy.php (590 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment