auth0 / auth0-cli

Build, manage and test your Auth0 integrations from the command line
https://auth0.github.io/auth0-cli/
MIT License
243 stars 52 forks source link

Dxcdt 393 ensure status and progress indicator #949

Closed m3talsmith closed 8 months ago

m3talsmith commented 8 months ago

🔧 Changes

In portions of the CLI (e.g. bulk delete), we can show progress details instead of just a spinner.

This PR creates the ProgressBar and uses it in those places.

📚 References

🔬 Testing

📝 Checklist

codecov-commenter commented 8 months ago

Codecov Report

Attention: 53 lines in your changes are missing coverage. Please review.

Comparison is base (859f796) 72.33% compared to head (070b652) 72.31%.

:exclamation: Current head 070b652 differs from pull request most recent head 463832a. Consider uploading reports for the commit 463832a to get more accurate results

Files Patch % Lines
internal/ansi/progress.go 57.89% 8 Missing :warning:
internal/cli/users_blocks.go 53.84% 4 Missing and 2 partials :warning:
internal/cli/apis.go 28.57% 3 Missing and 2 partials :warning:
internal/cli/apps.go 37.50% 3 Missing and 2 partials :warning:
internal/cli/custom_domains.go 37.50% 3 Missing and 2 partials :warning:
internal/cli/log_streams.go 37.50% 3 Missing and 2 partials :warning:
internal/cli/roles.go 37.50% 3 Missing and 2 partials :warning:
internal/cli/rules.go 37.50% 3 Missing and 2 partials :warning:
internal/cli/users.go 37.50% 3 Missing and 2 partials :warning:
internal/cli/organizations.go 71.42% 1 Missing and 1 partial :warning:
... and 1 more
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #949 +/- ## ========================================== - Coverage 72.33% 72.31% -0.03% ========================================== Files 92 93 +1 Lines 12660 12656 -4 ========================================== - Hits 9158 9152 -6 - Misses 2959 2963 +4 + Partials 543 541 -2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.