From 7b2513c5fd1b2163280424209fe00241b3e86f36 Mon Sep 17 00:00:00 2001 From: Mohammad Fares Date: Sun, 14 Oct 2018 21:59:08 +0300 Subject: [PATCH] Add a param to the method to print the url of the uploaded recording in the command --- commands/share.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/commands/share.js b/commands/share.js index fa4680d..6651add 100644 --- a/commands/share.js +++ b/commands/share.js @@ -7,10 +7,14 @@ /** * Executed after the command completes its task + * + * @param {String} url the url of the uploaded recording */ -function done() { +function done(url) { - // Terminate the app + console.log(di.chalk.green('Successfully Uploaded')); + console.log('The recording is available on the link:'); + console.log(di.chalk.magenta(url)); process.exit(); }