Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15480743
D10142.id24397.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
635 B
Referenced Files
None
Subscribers
None
D10142.id24397.diff
View Options
diff --git a/src/workflow/ArcanistTodoWorkflow.php b/src/workflow/ArcanistTodoWorkflow.php
--- a/src/workflow/ArcanistTodoWorkflow.php
+++ b/src/workflow/ArcanistTodoWorkflow.php
@@ -49,6 +49,9 @@
'repeat' => true,
'help' => pht('Projects to assign to the task.'),
),
+ 'browse' => array(
+ 'help' => pht('After creating the task, open it in a web browser.'),
+ ),
);
}
@@ -108,6 +111,11 @@
$result['id'],
$result['title'],
$result['uri']);
+
+ if ($this->getArgument('browse')) {
+ $this->openURIsInBrowser(array($result['uri']));
+ }
+
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 9, 4:09 PM (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7332181
Default Alt Text
D10142.id24397.diff (635 B)
Attached To
Mode
D10142: Add a --browse flag to `arc todo`
Attached
Detach File
Event Timeline
Log In to Comment