Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F12661916
ArcanistBranchWorkflow.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
790 B
Referenced Files
None
Subscribers
None
ArcanistBranchWorkflow.php
View Options
<?php
/**
* Alias for arc feature
*
* @group workflow
*/
final
class
ArcanistBranchWorkflow
extends
ArcanistFeatureWorkflow
{
public
function
getWorkflowName
()
{
return
'branch'
;
}
public
function
getCommandSynopses
()
{
return
phutil_console_format
(
<<<EOTEXT
**branch** [__options__]
**branch** __name__ [__start__]
EOTEXT
);
}
public
function
getCommandHelp
()
{
return
phutil_console_format
(
<<<EOTEXT
Supports: git
Alias for arc feature.
EOTEXT
);
}
public
function
run
()
{
$repository_api
=
$this
->
getRepositoryAPI
();
if
(!(
$repository_api
instanceof
ArcanistGitAPI
))
{
throw
new
ArcanistUsageException
(
'arc branch is only supported under Git.'
);
}
return
parent
::
run
();
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Fri, Nov 28, 15:49 (5 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1047453
Default Alt Text
ArcanistBranchWorkflow.php (790 B)
Attached To
Mode
R118 Arcanist - fork
Attached
Detach File
Event Timeline
Log In to Comment