Skip to content

Commit

Permalink
Added cli installation message (#448)
Browse files Browse the repository at this point in the history
* Added cli installation message (#338)

* Added cli installation message (#338)
  • Loading branch information
bilaalrashid authored and jywarren committed Oct 30, 2018
1 parent f937680 commit 361be00
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ if (program.saveSequence) {
var params = program.saveSequence.split(' ');
sequencer.saveSequence(params[0], params[1]);
} else if (program.installModule) {
console.log(
"\x1b[33m%s\x1b[0m",
"Please wait while your Module is being Installed...\nThis may take a while!"
);

var params = program.installModule.split(' ');
var spinner = Spinner("Now Installing...").start();
require('child_process').execSync(`npm i ${params[1]}`)
Expand Down Expand Up @@ -202,4 +207,3 @@ if (program.saveSequence) {
else return true;
}
}

0 comments on commit 361be00

Please sign in to comment.