engine
engine copied to clipboard
cli tenant:invite is interactive only
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.
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.
We are also planning to rewrite CLI and support all tenant, actions and system API mutations and queries #419.