@qui-cli Plugin: Progress bar for CLI app
npm install @qui-cli/progress@qui-cli Plugin: Progress bar for CLI app


``sh`
npm install @qui-cli/progress
`ts
import { Progress } from '@qui-cli/progress';
Progress.start({ max: 10 });
for (let i = 0; i < 10; i++) {
// do a thing
Progress.increment();
Progess.caption(Step ${i});`
}
Progress.stop();
Progress provides no configuration options.
Progress adds no user-configurable command line options.
Progress requires no initialization
`ts`
import { Progress } from '@qui-cli/progress';
Start a progress bar with max steps at value position (if undefined, value` is 0).
Increment the progress bar one step.
Update the caption on the progress bar.
Stop the progress bar.
CAUTION The progress bar must be stopped for the process to end. If it is not ended, it will run indefinitely.