Skip to content
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

feat: added progress indicator at the start of create #1

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

chiragbhatia8
Copy link
Owner

Description

This PR adds a progress indicator to the eksup CLI tool to provide users with a
better understanding of the progress of the analyze and create operations. We are
using the indicatif crate to implement the progress indicator. Here is a summary of
the changes and considerations:

A new ProgressTracker struct is implemented in a separate progress.rs module. This
struct handles creating and updating the progress bar based on the percentage of
progress made.

The progress tracker is initialized at the beginning of the analyze and create
functions. It is updated at significant milestones within the functions using the
set_progress() method.

The progress bar relies on an approximate progress percentage rather than a fixed
number of tasks. This approach allows for greater flexibility, but may be less
precise than having a predetermined number of tasks. Be sure to adjust the progress
updates in the code based on a good understanding of the overall process.

Motivation
clowdhaus#14

Resolves #

clowdhaus#14

Acknowledgment

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant