Recommend this page to a friend! |
Classes of Andrey Postal | EasyCLI | doc/03-components.md | Download |
|
DownloadComponentsProgress BarThe Progress Bar component is a trait that implements three methods:
This method must be the first one to be called when we want to display a
progress bar. The
The add progress method includes a
Once we are done with our progress bar, we should call this last method to conclude progress bar. Infinite Progress BarSimilarly to the Progress Bar, we also have three methods, one for initializing other for updating and one last for finalizing.
Here is the main difference. For the infinite progress bar instead of updating a certain amount, we trigger a loop. We can control the feeling and duration of this loop with the function parameters. > Lower |