Page MenuHomePhabricator

D10142.id24391.diff
No OneTemporary

D10142.id24391.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
Sat, May 11, 9:34 AM (1 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6265489
Default Alt Text
D10142.id24391.diff (635 B)

Event Timeline