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-396: Standardize error messages #943

Closed sergiught closed 8 months ago

sergiught commented 8 months ago

🔧 Changes

This pull request aims to enhance the consistency and clarity of error messages throughout the Auth0 CLI. By standardizing error messages, we improve the user experience, making it easier for developers to troubleshoot and understand issues during CLI interactions.

📚 References

🔬 Testing

📝 Checklist

codecov-commenter commented 8 months ago

Codecov Report

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

Comparison is base (820d24c) 72.11% compared to head (eaef9dc) 72.35%.

Files Patch % Lines
internal/cli/rules.go 35.48% 17 Missing and 3 partials :warning:
internal/cli/apis.go 23.52% 11 Missing and 2 partials :warning:
internal/cli/custom_domains.go 43.47% 13 Missing :warning:
internal/cli/organizations.go 45.00% 11 Missing :warning:
internal/cli/apps.go 52.38% 10 Missing :warning:
internal/cli/roles_permissions.go 28.57% 10 Missing :warning:
internal/cli/roles.go 18.18% 9 Missing :warning:
internal/cli/users.go 20.00% 8 Missing :warning:
internal/cli/universal_login_templates.go 12.50% 7 Missing :warning:
internal/prompt/editor.go 0.00% 7 Missing :warning:
... and 27 more
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #943 +/- ## ========================================== + Coverage 72.11% 72.35% +0.23% ========================================== Files 92 92 Lines 12629 12654 +25 ========================================== + Hits 9108 9156 +48 + Misses 2978 2955 -23 Partials 543 543 ```

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