Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F64774729
PhabricatorStorageManagementDatabasesWorkflow.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, May 29, 08:57
Size
617 B
Mime Type
text/x-php
Expires
Fri, May 31, 08:57 (2 d)
Engine
blob
Format
Raw Data
Handle
17956383
Attached To
rPH Phabricator
PhabricatorStorageManagementDatabasesWorkflow.php
View Options
<?php
final
class
PhabricatorStorageManagementDatabasesWorkflow
extends
PhabricatorStorageManagementWorkflow
{
protected
function
didConstruct
()
{
$this
->
setName
(
'databases'
)
->
setExamples
(
'**databases** [__options__]'
)
->
setSynopsis
(
pht
(
'List Phabricator databases.'
));
}
protected
function
isReadOnlyWorkflow
()
{
return
true
;
}
public
function
didExecute
(
PhutilArgumentParser
$args
)
{
$api
=
$this
->
getAnyAPI
();
$patches
=
$this
->
getPatches
();
$databases
=
$api
->
getDatabaseList
(
$patches
,
true
);
echo
implode
(
"
\n
"
,
$databases
).
"
\n
"
;
return
0
;
}
}
Event Timeline
Log In to Comment