Commandline Progress Bars

Top  Previous  Next

A commandline progress bar is one whose position is generated by running an invisible commandline utility whose output specifies the current bar position (and optionally text and range).

 

Such a tool could be used to generate progress data in a variety of ways, including fetching information from a website.

 

The output of the tool should one or more lines of text, for the format VARNAME = VALUE

Where VARNAME is from:  min | max | cur | text | error

 

So some example valid outputs would be:

 

cur = 60

 

min=1
cur=50
max=100

 

min=1
cur=50
max=100
text=half way there!

 

error=failed to retrieve data from website