engine icon indicating copy to clipboard operation
engine copied to clipboard

cli tenant:invite is interactive only

Open iBobik opened this issue 11 months ago • 2 comments

This command is not useable in scripting because it requires user to fill all arguments interactively.

tenant:invite
Invites a user by an email

Usage:
[instance]

Arguments and options:
    [instance (Local instance name or remote Contember API URL)]

Btw, I checked version 2-rc, but it is missing tenant commands.

iBobik avatar Feb 16 '25 19:02 iBobik

Thank you for pointing that out. You're absolutely right—the interactive version of the tenant:invite command isn't ideal for scripting. Since it wasn't widely used and had some issues, we decided to drop it in v2. You can easily replace its functionality by using the GraphQL invite mutation.

jonasnobile avatar Mar 03 '25 10:03 jonasnobile

We are also planning to rewrite CLI and support all tenant, actions and system API mutations and queries #419.

jonasnobile avatar Mar 03 '25 10:03 jonasnobile