cs142/project3/node_modules/cli/examples/spinner.js
2020-08-01 19:26:11 -03:00

9 lines
169 B
JavaScript
Executable File

#!/usr/bin/env node
var cli = require('cli');
cli.spinner('Working..');
setTimeout(function () {
cli.spinner('Working.. done!', true); //End the spinner
}, 3000);