Page MenuHomePhabricator

D10142.id24397.diff
No OneTemporary

D10142.id24397.diff

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

Mime Type
text/plain
Expires
Thu, May 9, 1:24 AM (2 w, 8 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6265489
Default Alt Text
D10142.id24397.diff (635 B)

Event Timeline