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/cWbCWezwAsyega83NkdNsPtY5o4GkQsWSX0sc0JGAkavkxRdxpvYpq0vz7e0i7bi9DeRwJnE0ojhF05v14mwehgZe/L1hqRsb3Aez6Z3BHIEH9V4S2QunrrHTfdQ4MgVQraMhp1p9HI+qeOOPykxvBfFBf8dyKU3PZffmJEUQVjJUpJhe00KuMDBmdcslT6oKDBCHPMiHY7MQcqfdgrYkZxVbbHbgaAWLPunVwNffdEylacPtuBJCa+agSzGPNdNszI+znpQeaE68+2kU35aW4+k+n1h5PCDAaueIse2AZ2qBVJBRw0GuaDSVDceZGSttFdrbFJktDWnR7i6IJPTkosgrpZAg7vrybMGuVN3ixvAzP2Bfx6apLXMWWFZWeArZ/re569DlENCyYqYHvds1Az8muT2pwRlvzdKM7QQ2lw55Ix6ir9wrD5WKLCvssMC5CZFI4T92Je5xBWK0rtKqaHODVfiABm2soDtRPNrXDa+RF80zgVJ9oh+uwpXD7C0IvLHkoNp5Qgj3Wqjnc1pS0t7P376KoUrO5OuVNKhhg7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