Proposal
This issue is created to address the TODO comment found in the (c *Client) PullModel function, from @mdelapenya
// TODO: use a progressbar instead of multiple line output.
Why is it needed?
- Currently, pulling a model floods the terminal with raw log output. This makes it difficult for users to track the actual download progress and results in a poor user experience.
Proposed Solution
Replace the current line-by-line logging with a progress bar.
This can be achieved by:
- Parsing the JSON stream from the response body to get the download status.
- Using a terminal progress bar library (e.g., github.com/schollz/progressbar/v3) to visually display the progress based on the parsed data.
I'd appreciate any feedback on this proposal. If this sounds like a good idea, I'd be happy to open a Pull Request to implement it.