auth0 / auth0-cli

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

DXCDT-601: Supporting multiple identifiers for blocks list and unblock commands #931

Closed willvedd closed 9 months ago

willvedd commented 9 months ago

🔧 Changes

Currently, the auth0 users blocks list and auth0 users blocks unblock commands only support user ID as the identifier. Additional identifiers were requested in #804. To address this request, this PR adds the support for email, username and phone number as identifiers for these commands in addition to the user ID.

This

📚 References

Related Issue: #804

🔬 Testing

Adding integration test cases.

📝 Checklist

codecov-commenter commented 9 months ago

Codecov Report

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

Comparison is base (dba337f) 71.90% compared to head (6b78e74) 71.96%.

:exclamation: Current head 6b78e74 differs from pull request most recent head 9dd7cac. Consider uploading reports for the commit 9dd7cac to get more accurate results

Files Patch % Lines
internal/cli/users_blocks.go 63.63% 9 Missing and 3 partials :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #931 +/- ## ========================================== + Coverage 71.90% 71.96% +0.05% ========================================== Files 92 92 Lines 12566 12577 +11 ========================================== + Hits 9036 9051 +15 + Misses 2990 2983 -7 - Partials 540 543 +3 ```

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