cli: implements progress bar