Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F568347
PhabricatorAphlictManagementStatusWorkflow.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
681 B
Referenced Files
None
Subscribers
None
PhabricatorAphlictManagementStatusWorkflow.php
View Options
<?php
final
class
PhabricatorAphlictManagementStatusWorkflow
extends
PhabricatorAphlictManagementWorkflow
{
protected
function
didConstruct
()
{
$this
->
setName
(
'status'
)
->
setSynopsis
(
pht
(
'Show the status of the notification server.'
))
->
setArguments
(
$this
->
getLaunchArguments
());
}
public
function
execute
(
PhutilArgumentParser
$args
)
{
$this
->
parseLaunchArguments
(
$args
);
$console
=
PhutilConsole
::
getConsole
();
$pid
=
$this
->
getPID
();
if
(!
$pid
)
{
$console
->
writeErr
(
"%s
\n
"
,
pht
(
'Aphlict is not running.'
));
return
1
;
}
$console
->
writeOut
(
"%s
\n
"
,
pht
(
'Aphlict (%s) is running.'
,
$pid
));
return
0
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, May 13, 1:23 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
124127
Default Alt Text
PhabricatorAphlictManagementStatusWorkflow.php (681 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment