Skip to content

Conversation

@bkiran6398
Copy link

🔧 Changes

📚 References

🔬 Testing

📝 Checklist

  • All new/changed/fixed functionality is covered by tests (or N/A)
  • I have added documentation for all new/changed functionality (or N/A)

- Implemented the Invitations method in the OrganizationAPI interface to list invitations for an organization.
- Generated corresponding mock methods in organization_mock.go for testing.
- This change enhances the API's functionality by allowing retrieval of organization invitations, aligning with the management API documentation.
- Introduced `invitationsOrganizationCmd` to handle invitations management.
- Added `listInvitationsOrganizationCmd` for listing organization invitations with options for pagination and output formats.
- Implemented `getOrgInvitationsWithSpinner` and `getOrgInvitations` methods for fetching invitations from the API.
- Created `invitationsView` struct for displaying invitation details in a structured format.
…tions

- Introduced a new section for managing invitations within organizations.
- Added a new file `auth0_orgs_invitations.md` detailing the invitation management commands.
- Created `auth0_orgs_invitations_list.md` to document the command for listing invitations.
- Updated existing documentation files to include links to the new invitations section.

This change enhances the usability of the Auth0 CLI by providing clear guidance on managing organization invitations.
@codecov-commenter
Copy link

Codecov Report

❌ Patch coverage is 31.49606% with 87 lines in your changes missing coverage. Please review.
✅ Project coverage is 58.79%. Comparing base (72153d5) to head (e70e74d).
⚠️ Report is 52 commits behind head on main.

Files with missing lines Patch % Lines
internal/cli/organizations.go 42.55% 53 Missing and 1 partial ⚠️
internal/display/invitations.go 0.00% 33 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1424      +/-   ##
==========================================
- Coverage   64.51%   58.79%   -5.72%     
==========================================
  Files         108      118      +10     
  Lines       17959    20535    +2576     
==========================================
+ Hits        11586    12074     +488     
- Misses       5615     7673    +2058     
- Partials      758      788      +30     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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

Successfully merging this pull request may close these issues.

3 participants