-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement rich
Progress Bars for CLI Commands in mlstacks
#125
Comments
rich
Progress Bars for CLI Commands in mlstacks
rich
Progress Bars for CLI Commands in mlstacksrich
Progress Bars for CLI Commands in mlstacks
I would like to take this up. |
Great. Let me know if you have any questions about this, and def take a look at our sister repo where we do similar things with progress bars etc. |
Sure, thanks for letting me contribute. |
@code-master-ajay any progress on this or questions about the implementation / approach you want to take? |
Hi @strickvl, i looked up rich library and tried to use it with the terraform deploy function, but i am not able to get the terraform output in the code to be able to show the progress. please let me know if i am doing something wrong, or should i try any other approach. |
So I think it might be as simple as emulating how we handle it here: https://github.com/zenml-io/zenml/blob/cdd14528d674e0cafe00173755e556ea00c6343c/src/zenml/cli/integration.py#L274. I.e. using the context handler around the deployment call. But in any case would be useful to see specifically what you tried as it's hard to give feedback without more information. |
i was trying to capture the stdout of
Which would show the progress percentage and estimated time. We could read the stdout if we use subprocess but i can't figure out how to do it using the terraform python library. From the link you have shared i guess we just need to show a static line like |
Yeah no need to make it so complicated, I think :) The |
Sure @strickvl , I will do that . Thanks for the guidance :) |
Open Source Contributors Welcomed!
Please comment below if you would like to work on this issue!
Contact Details [Optional]
support@zenml.io
What happened?
Currently, the mlstacks CLI lacks visual feedback in the form of progress bars or spinners when executing commands like
mlstacks deploy ...
ormlstacks destroy ...
. This can leave users uncertain about the progress or status of these commands.Task Description
Integrate Rich progress bars into the
mlstacks
CLI to provide users with real-time visual feedback when executing commands. The goal is to enhance the user experience by making the interface more interactive and informative without overwhelming the user with excessive visuals.Expected Outcome
mlstacks deploy ...
andmlstacks destroy ...
commands.Steps to Implement
mlstacks
CLI, particularly for the deploy and destroy commands.Additional Context
This enhancement aims to improve the overall user experience of the
mlstacks
CLI, making it more engaging and informative, which is especially helpful in managing expectations during longer-running processes.Code of Conduct
The text was updated successfully, but these errors were encountered: