mirror of
https://we.phorge.it/source/arcanist.git
synced 2025-02-16 16:58:38 +01:00
Adding confirmation message to 'arc todo' with information about the task created
Summary: 'arc todo' now logs a message with the task title and URI when run. Test Plan: Run 'arc todo test' and see that it logs a message with the form 'Created task <task number>: '<task title' at <task URI> Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D3016
This commit is contained in:
parent
b28efb8f88
commit
1a111dc86c
1 changed files with 7 additions and 1 deletions
|
@ -90,9 +90,15 @@ EOTEXT
|
|||
$args['ccPHIDs'] = $phids;
|
||||
}
|
||||
|
||||
$conduit->callMethodSynchronous(
|
||||
$result = $conduit->callMethodSynchronous(
|
||||
'maniphest.createtask',
|
||||
$args);
|
||||
|
||||
echo phutil_console_format(
|
||||
"Created task T%s: '<fg:green>**%s**</fg>' at <fg:blue>**%s**</fg>\n",
|
||||
$result['id'],
|
||||
$result['title'],
|
||||
$result['uri']);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue