Skip to content

Commit

Permalink
doc: add manpage for npm-org
Browse files Browse the repository at this point in the history
  • Loading branch information
zkat committed Jan 18, 2019
1 parent 50463f5 commit e959e14
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions doc/cli/npm-org.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
npm-org(1) -- Manage orgs

This comment has been minimized.

Copy link
@Tjwade2019

Tjwade2019 Feb 12, 2019

ACH INSTANT DEPOSIT

===================================

## SYNOPSIS

npm org set <orgname> <username> [developer | admin | owner]
npm org rm <orgname> <username>
npm org ls <orgname> [<username>]

## EXAMPLE

Add a new developer to an org:
```
$ npm org set my-org @mx-smith
```

Add a new admin to an org (or change a developer to an admin):
```
$ npm org set my-org @mx-santos admin
```

Remove a user from an org:
```
$ npm org rm my-org mx-santos
```

List all users in an org:
```
$ npm org ls my-org
```

List all users in JSON format:
```
$ npm org ls my-org --json
```

See what role a user has in an org:
```
$ npm org ls my-org @mx-santos
```

## DESCRIPTION

You can use the `npm org` commands to manage and view users of an organization.
It supports adding and removing users, changing their roles, listing them, and
finding specific ones and their roles.

## SEE ALSO

* [Documentation on npm Orgs](https://docs.npmjs.com/orgs/)

0 comments on commit e959e14

Please sign in to comment.