inikulin / Elegant Status
Licence: mit
Create elegant task status for CLI.
Stars: ✭ 131
Programming Languages
javascript
184084 projects - #8 most used programming language
elegant-status
Create elegant task status for CLI.
const elegantStatus = require('elegant-status');
const done = elegantStatus('Perform assessment');
setTimeout(() => done(true), 1000);
⬇
const elegantStatus = require('elegant-status');
const done = elegantStatus('Set defense systems');
setTimeout(() => done(false), 1000);
⬇
You can update status text while it's spinning using done.updateText()
function:
const elegantStatus = require('elegant-status');
const done = elegantStatus('Set defense systems');
setTimeout(() => done.updateText('1 second left'), 1000);
Install
npm install elegant-status
Author
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].