Hello @Wami007 ,
Welcome to the Microsoft Q&A platform. Happy to answer your question. As you haven't mentioned which language the program is written in, I am sharing a generic CLI progress bar article which might help. If not, please share a detailed description around this requirement.
Please "Accept as Answer" if any of above helped so that, it can help others in community looking for remediation for the similar issues.