cli-progress

easy to use progress-bar for command-line/terminal applications

MIT License

Downloads
15.5M
Stars
1.1K
Committers
19

Bot releases are visible (Hide)

cli-progress - Export formatter functions + ETA display limit change Latest Release

Published by AndiDittrich over 3 years ago

  • Added: exported standard formatter and format helper
  • Added: example howto use multibars in synchronous context
  • Changed: upper eta display limit to 1e7 (115days) #92
cli-progress - Custom format functions, autopadding and more

Published by AndiDittrich over 4 years ago

  • Added: support for custom time-format function
  • Added: support for custom bar-format function
  • Added: support for custom value-format function
  • Added: auto-padding option to enforce fixed size of values - feature requested on GitHub
  • Added: barGlue option to insert ascii escape sequences (e.g. for colorization) between the bar complete/incomplete elements - feature requested on GitHub
  • Bugfix: eta value can be negative for multibars in case the bar is alredy completed
cli-progress - Minor bugfix

Published by AndiDittrich about 5 years ago

  • Bugifx: synchronous update may cause unexpected behaviour on multibars - limited to single bars
  • Changed: renamed internal eta push() method to update()
  • Changed: moved internal eta calculation call into update()
cli-progress - Align Option; Improved ETA calculation

Published by AndiDittrich about 6 years ago

  • Added: align option to change the position of the progress bar (left, center, right) - thanks to sidneys on GitHub #22
  • Changed: ETA value of type Infinity is displayed as INF, NaN as NULL - feature requested by AxelTerizaki on GitHub #21
  • Changed: Limited the maximum ETA value to 100000s (INF is displayed in this case)
  • Changed: ETA calculation moved to own scope
  • Bugfix: example example-notty.php was broken
cli-progress - Enhanced increment() method

Published by AndiDittrich almost 7 years ago

  • Added: payload argument to increment() - feature requested by dsego on GitHub #18
cli-progress - Custom Payload Data/Tokens

Published by AndiDittrich about 7 years ago

  • Added: Additional payload data which can be used as custom-tokens within the bar - thanks to tobiasps on GitHub #15
cli-progress - Bugifx: Zero Values

Published by AndiDittrich about 7 years ago

  • Bugifx: Progressbar cannot be initialized to 0% - thanks to erikkallen on GitHub #13
  • Bugfix: ETA was NULL in case the progress bar is initialized with (0/0)
cli-progress - "0 value" for total/progress initialization are allowed

Published by AndiDittrich about 7 years ago

  • Added: 0 values for total/progress initialization are allowed - feature requested by jfmmm on GitHub #11
cli-progress - Preset/Theme support

Published by AndiDittrich about 7 years ago

  • Added: Preset/Theme support. Different bar-styles can be loaded from internal library (in addition to full customization)
  • Added: Dependency colors for colorized progress bars
  • Added: Preset legacy
  • Added: Preset shades-classic
  • Added: Preset shades-grey
  • Added: Preset rect
cli-progress - New Feature: stopOnComplete

Published by AndiDittrich almost 8 years ago

  • Added: stopOnComplete option to automatically call stop() when the value reaches the total - thanks to lennym on GitHub #7
cli-progress - Some Cool Features

Published by AndiDittrich over 8 years ago

  • Added: increment() method to increase the current progress relatively - thanks to lennym on GitHub #6
  • Added: ETA time formatting options (mm:ss, hh:mm, ss) - thanks to lennym on GitHub #5
  • Improvement: More accurate ETA calculation using linear estimation of last N values - thanks to lennym on GitHub #4
  • Bugfix: FPS calculation error which caused performance issues - thanks to lennym on GitHub #7
cli-progress - Bugfix Release

Published by AndiDittrich over 8 years ago

Bugfix: stdout.cursorTo/stdout.clearLine is not a function; replaced by readline - thanks to remcoder on GitHub

cli-progress -

Published by AndiDittrich almost 9 years ago

Features

  • Simple, Robust and Easy to use
  • Full customizable output format (various placeholders are available)
  • Custom Bar Characters
  • FPS limiter
  • ETA calculation based on elapsed time
  • Only visible in TTY environments
  • No callbacks required - designed as pure, external controlled UI widget

Successful tested on Windows10, Debian 8.2 and Ubuntu 14 LTS