1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-26 08:42:40 +01:00

Merge pull request #44 from ifraimow/master

Adding confirmation message to 'arc todo' with information about the task created
This commit is contained in:
Evan Priestley 2012-07-19 15:19:57 -07:00
commit cf745ef2bf

View file

@ -90,9 +90,15 @@ EOTEXT
$args['ccPHIDs'] = $phids; $args['ccPHIDs'] = $phids;
} }
$conduit->callMethodSynchronous( $result = $conduit->callMethodSynchronous(
'maniphest.createtask', 'maniphest.createtask',
$args); $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']);
} }
} }