npm team

管理组织团队和团队成员

概要

npm team create <scope:team>
npm team destroy <scope:team>

npm team add <scope:team> <user>
npm team rm <scope:team> <user>

npm team ls <scope>|<scope:team>

注意:此命令对工作区无感知。

描述

用于管理组织中的团队,以及更改团队成员。不处理包的权限。

团队在对其进行操作时,必须始终完全符合他们所属的组织/范围,用冒号 (:) 分隔。也就是说,如果您在 org 组织中有 newteam 团队,则在这些命令中必须始终将该团队称为 @org:newteam

如果您在 auth-and-writes 模式下启用了双重身份验证,则可以使用 [--otp <otpcode>] 提供来自身份验证器的代码。如果你不包括这个,那么你会被提示。

    S+CSR9D9fGxRMNMvGz3AyWApraYXOaMj9AX7YWTrAUgWaD4dcIkufI+fzc9ABl1B7VyMX4zw1T6V3NFp216WHdcjQhwcI21MZm1bKxy8U3jqf0BZD27c4zjx6aGzPugm9+yX8RxIpQbyqDcXEtQ8mXAaMzqL/9Mv8tlJ+2Lt7opTKXVL7SBpcEpQ9jnNprbTj3E5OL8VqD6tA5/cWbCWezwAsyega83NkdNsPtY5o4EK0DyqsHWp+vFfGFf3Pn+pahdSAfTQembslkLYTjS8Mwij+SYZI00pNgI4s53XrfScnahiQgAF6eeI9lZWag/WvAugRtibmDVLqpA1Cr1b/QNgyRu+0/g9LDJktnDbtcKV4mq2U6VMTQJjoaAfWxss+xCIFIqkOGmbUfME1TExpwhh2qZoTlYRGvoueIQxDnl4nnWtJjHPmMjKlPl/MbtrThKQGtq4YNFwAfXGqB7LpRnqdqhR0ZWjC1mD8cET7kfy/ZErglH9QFVnuI0M/T6iMpKzbumPps1ML/kHDA1beN/jiF2hBGMkC5XZ7+H3KWInfRj7rTF2hAQKy/oi4ReUG+ViSVxjJpY2B2JgN4GwShk8iCb1qFx3VjqTKK61OLsBslbY8sN7u5sTnw6eIDLobIqGIQ2uRUNRF6vbHAlOpXluQDEefdDk1O01411QFopATr2L2NjOdw/KumvAkrwB9tOYd+fOmZpa0MbkXmeGjP/0aMKj5pk32juAx8Y2qWQT4ca50o1tnc34NH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