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

Add progress for detect and analyze #329

Closed
hahwul opened this issue Jun 19, 2024 · 2 comments
Closed

Add progress for detect and analyze #329

hahwul opened this issue Jun 19, 2024 · 2 comments
Assignees

Comments

@hahwul
Copy link
Member

hahwul commented Jun 19, 2024

Resources

progress_bar = ACON::Helper::ProgressBar.new output, 50
progress_bar.start

50.times do
  progress_bar.advance
end

progress_bar.finish
indicator = ACON::Helper::ProgressIndicator.new output
indicator.start "Processing..."

50.times do
  indicator.advance
end

indicator.finish "Finished!"
@hahwul
Copy link
Member Author

hahwul commented Jul 21, 2024

require "athena-console"

output = ACON::Output::IO.new STDERR

@hahwul
Copy link
Member Author

hahwul commented Jul 21, 2024

After briefly testing the implementation, we found that none of the tasks take long enough to require a progress or indicator feature. In fact, adding such a feature might cause more inconvenience than benefit, so I have decided not to develop it.

@hahwul hahwul closed this as completed Jul 21, 2024
@hahwul hahwul self-assigned this Jul 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant