@vatio-ai/cli 0.137.0 → 0.138.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commands/team.mjs +3 -1
- package/lib/help.mjs +2 -2
- package/package.json +1 -1
package/lib/commands/team.mjs
CHANGED
|
@@ -16,7 +16,9 @@ function explain(error) {
|
|
|
16
16
|
throw error;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
// supervisor: the business's team; business: the business itself; developer: the
|
|
20
|
+
// agency. viewer is no longer offered (WorkspaceMembership::INVITABLE_ROLES).
|
|
21
|
+
const ROLES = ["supervisor", "business", "developer"];
|
|
20
22
|
const USAGE = `Usage: vatio team [list] [--json]\n` +
|
|
21
23
|
` vatio team invite EMAIL --role ${ROLES.join("|")} [--code CODE | --recovery-code CODE] [--json]\n` +
|
|
22
24
|
` vatio team role EMAIL ${ROLES.join("|")} [--code CODE | --recovery-code CODE] [--json]\n` +
|
package/lib/help.mjs
CHANGED
|
@@ -170,10 +170,10 @@ it made obsolete, moves it on. \`vatio rollback\` undoes the last change.
|
|
|
170
170
|
|
|
171
171
|
Team (the owner's; the same roles as the inbox's Team page):
|
|
172
172
|
team [list] [--json] The owner and everyone invited, and who has not signed in yet
|
|
173
|
-
team invite EMAIL --role
|
|
173
|
+
team invite EMAIL --role supervisor|business|developer [--code CODE]
|
|
174
174
|
Invite them and email them. Needs a second factor on your
|
|
175
175
|
account: --code is your authenticator app's code
|
|
176
|
-
team role EMAIL
|
|
176
|
+
team role EMAIL supervisor|business|developer [--code CODE]
|
|
177
177
|
Change what they reach; the same second factor
|
|
178
178
|
team rm EMAIL Take their access away
|
|
179
179
|
team resend EMAIL Email the invitation again
|