cli
cli copied to clipboard
feat: added the progress bar for generate command.
Description Added a progress bar for the generate command in the cli.
https://www.loom.com/share/72534057ea2644f997bae71fb4c79957?sid=7e05ac94-c362-4860-9dfb-333ff07bfff4
Related issue(s) fixes #1410
Thanks for the PR @ItshMoh Please include this in all the commands of the CLI and fix Quality Gate
Thanks for the PR @ItshMoh Please include this in all the commands of the CLI and fix Quality Gate
Sure @AayushSaini101
@ItshMoh how is the progress being calculated ?
@ItshMoh how is the progress being calculated ?
Hey @Shurtu-gal I have updated the logic. So in the new logic here i have divided it into 3 steps. The first step is Initializing generator , Generating Files and the last for completion of generation. After the step the progress bar increases. Do you have anything extra that i can add?
Hey @Shurtu-gal I have updated the logic. So in the new logic here i have divided it into 3 steps. The first step is Initializing generator , Generating Files and the last for completion of generation. After the step the progress bar increases. Do you have anything extra that i can add?
What I am not understanding is how is a progress bar different from the current spinner we have if we don't have any way to measure the current progress in generation.
Note: @Souvikns has also proposed removing the spinner altogether https://github.com/amplication
What I am not understanding is how is a progress bar different from the current spinner we have if we don't have any way to measure the current progress in generation.
Note: @Souvikns has also proposed removing the spinner altogether https://github.com/amplication
Hey @Shurtu-gal Should i remove the spinner alltogether ?
@Souvikns do require this feature to be there as we don't have any set time or some kind of progress parameter I guess this would rather just be a aesthetic thing.
Yeah what we have right now work, but having a progress bar is causing some problems with new generator as well. So we have to consider that as well. @ItshMoh do consider this https://github.com/asyncapi/cli/issues/1540 as well, if you can add a progress bar and not create the same problem with the new generator that there is no issue.
Any updates @ItshMoh?
Hey @Shurtu-gal I am not able to work on it currently. So closing the PR.
