Add a param to the method to print the url of the uploaded recording in the command

This commit is contained in:
Mohammad Fares 2018-10-14 21:59:08 +03:00
parent b11e706605
commit 7b2513c5fd

View File

@ -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();
}