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:
commit
cf745ef2bf
1 changed files with 7 additions and 1 deletions
|
@ -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']);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue