Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBernard Kitchens <bernard@npmjs.com>2020-03-14 00:22:58 +0300
committerDarcy Clarke <darcy@darcyclarke.me>2020-03-18 19:25:38 +0300
commit4ad2214873cddfd4a0eff1bd188516b08fae9f9e (patch)
tree223731be523c297d3394a9159ca81504ec886ca9 /lib
parent7d8e5b99c4ef8c394cffa7fc845f54a25ff37e3a (diff)
docs(teams): updated team docs to reflect new MFA workflow for npm team api
PR-URL: https://github.com/npm/cli/pull/1020 Credit: @ Close: #1020 Reviewed-by: @darcyclarke
Diffstat (limited to 'lib')
-rw-r--r--lib/team.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/team.js b/lib/team.js
index 2b56e3b14..e24f73347 100644
--- a/lib/team.js
+++ b/lib/team.js
@@ -14,10 +14,10 @@ team.subcommands = ['create', 'destroy', 'add', 'rm', 'ls', 'edit']
team.usage = usage(
'team',
- 'npm team create <scope:team>\n' +
- 'npm team destroy <scope:team>\n' +
- 'npm team add <scope:team> <user>\n' +
- 'npm team rm <scope:team> <user>\n' +
+ 'npm team create <scope:team> [--otp <otpcode>]\n' +
+ 'npm team destroy <scope:team> [--otp <otpcode>]\n' +
+ 'npm team add <scope:team> <user> [--otp <otpcode>]\n' +
+ 'npm team rm <scope:team> <user> [--otp <otpcode>]\n' +
'npm team ls <scope>|<scope:team>\n' +
'npm team edit <scope:team>'
)