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'])); + } + } }