mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-03 22:15:42 +02:00
npm-org: add page (#14604)
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
This commit is contained in:
parent
c813555163
commit
71804f8356
1 changed files with 28 additions and 0 deletions
28
pages/common/npm-org.md
Normal file
28
pages/common/npm-org.md
Normal file
|
@ -0,0 +1,28 @@
|
|||
# npm-org
|
||||
|
||||
> Manage organizations.
|
||||
> More information: <https://docs.npmjs.com/cli/commands/npm-org>.
|
||||
|
||||
- Add a new user to an organization:
|
||||
|
||||
`npm org set {{organization_name}} {{username}}`
|
||||
|
||||
- Change a user's role in an organization:
|
||||
|
||||
`npm org set {{organization_name}} {{username}} {{developer|admin|owner}}`
|
||||
|
||||
- Remove a user from an organization:
|
||||
|
||||
`npm org rm {{organization_name}} {{username}}`
|
||||
|
||||
- List all users in an organization:
|
||||
|
||||
`npm org ls {{organization_name}}`
|
||||
|
||||
- List all users in an organization, output in JSON format:
|
||||
|
||||
`npm org ls {{organization_name}} --json`
|
||||
|
||||
- Display a user's role in an organization:
|
||||
|
||||
`npm org ls {{organization_name}} {{username}}`
|
Loading…
Add table
Reference in a new issue