Repository URL to install this package:
Version:
1.0.205 ▾
|
tabby-terminal
/
opt
/
Tabby
/
resources
/
builtin-plugins
/
tabby-ssh
/
node_modules
/
cli
/
examples
/
progress.js
|
---|
#!/usr/bin/env node
var cli = require('cli');
var i = 0, interval = setInterval(function () {
cli.progress(++i / 100);
if (i === 100) {
clearInterval(interval);
cli.ok('Finished!');
}
}, 50);