CLI: Add functionality to operate on Workspace Membership #548
Labels
difficulty: 4
help wanted
Extra attention is needed
priority: high
scope: cli
Everything related to the CLI
type: feature
Release drafter tag for tagging PRs related to adding new features
Description
We would like to perform the following operations for workspace membership using our CLI:
keyshade workspace membership transfer-ownership <workspace-slug> <new-owner-email>
)keyshade workspace membership invite <workspace-slug> <invitee-email> <space separated role slugs>
)keyshade workspace membership remove <workspace-slug> <user-email>
)keyshade workspace membership update-role <workspace-slug> <user-emails> <space separated role slugs>
)keyshade workspace membership accept-invitation <workspace-slug>
)keyshade workspace membership decline-invitation <workspace-slug>
)keyshade workspace membership cancel-invitation <workspace-slug> <invitee-email>
)keyshade workspace membership leave <workspace-slug>
)keyshade workspace membership list <workspace-slug>
)Solution
membership.workspace.ts
underapps/cli/src/workspace
command.interface.ts
and name itWorkspaceMembershipCommand
workspace.command.ts
src/commands/workspace/membership
.workspaceMembershipController
underControllerInstance
to make the API calls.The text was updated successfully, but these errors were encountered: