Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F22395416
ArcanistBookmarkWorkflow.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
811 B
Referenced Files
None
Subscribers
None
ArcanistBookmarkWorkflow.php
View Options
<?php
/**
* Alias for arc feature
*
* @group workflow
*/
final
class
ArcanistBookmarkWorkflow
extends
ArcanistFeatureWorkflow
{
public
function
getWorkflowName
()
{
return
'bookmark'
;
}
public
function
getCommandSynopses
()
{
return
phutil_console_format
(
<<<EOTEXT
**bookmark** [__options__]
**bookmark** __name__ [__start__]
EOTEXT
);
}
public
function
getCommandHelp
()
{
return
phutil_console_format
(
<<<EOTEXT
Supports: hg
Alias for arc feature.
EOTEXT
);
}
public
function
run
()
{
$repository_api
=
$this
->
getRepositoryAPI
();
if
(!(
$repository_api
instanceof
ArcanistMercurialAPI
))
{
throw
new
ArcanistUsageException
(
'arc bookmark is only supported under Mercurial.'
);
}
return
parent
::
run
();
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Fri, Nov 27, 16:26 (1 d, 20 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1222439
Default Alt Text
ArcanistBookmarkWorkflow.php (811 B)
Attached To
Mode
R118 Arcanist - fork
Attached
Detach File
Event Timeline