UNPKG

7.46 kBMarkdownView Raw
1Heroku Orgs CLI [![CircleCI](https://circleci.com/gh/heroku/heroku-orgs/tree/master.svg?style=svg)](https://circleci.com/gh/heroku/heroku-orgs/tree/master)
2===========
3[![Code Climate](https://codeclimate.com/github/heroku/heroku-orgs/badges/gpa.svg)](https://codeclimate.com/github/heroku/heroku-orgs)
4[![codecov](https://codecov.io/gh/heroku/heroku-orgs/branch/master/graph/badge.svg)](https://codecov.io/gh/heroku/heroku-orgs)
5[![npm version](https://badge.fury.io/js/heroku-orgs.svg)](https://badge.fury.io/js/heroku-orgs)
6[![License](https://img.shields.io/github/license/heroku/heroku-orgs.svg)](https://github.com/heroku/heroku-orgs/blob/master/LICENSE)
7
8[![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)
9
10### Available commands
11
12https://github.com/heroku/heroku-orgs/blob/master/index.js.
13
14### Development
15
16First, please read [Developing CLI Plugins on Heroku's DevCenter](https://devcenter.heroku.com/articles/developing-toolbelt-plug-ins).
17
18#### Run Tests
19
20```
21$ npm test
22```
23
24#### Deploy
25
261. Release a new version of this npm package.
27
28 ```
29 $ npm version patch/minor/major
30 ```
31
322. Open a new pr in https://github.com/heroku/cli/blob/master/package.json, updating to the appropriate heroku-orgs version.
33
34#### Commands
35
36<!-- commands -->
37* [`heroku access`](#heroku-access)
38* [`heroku access:add EMAIL`](#heroku-accessadd-email)
39* [`heroku access:remove EMAIL`](#heroku-accessremove-email)
40* [`heroku access:update EMAIL`](#heroku-accessupdate-email)
41* [`heroku apps:join`](#heroku-appsjoin)
42* [`heroku apps:leave`](#heroku-appsleave)
43* [`heroku apps:lock`](#heroku-appslock)
44* [`heroku apps:transfer RECIPIENT`](#heroku-appstransfer-recipient)
45* [`heroku apps:unlock`](#heroku-appsunlock)
46* [`heroku join`](#heroku-join)
47* [`heroku leave`](#heroku-leave)
48* [`heroku lock`](#heroku-lock)
49* [`heroku members`](#heroku-members)
50* [`heroku members:add EMAIL`](#heroku-membersadd-email)
51* [`heroku members:remove EMAIL`](#heroku-membersremove-email)
52* [`heroku members:set EMAIL`](#heroku-membersset-email)
53* [`heroku orgs`](#heroku-orgs)
54* [`heroku orgs:open`](#heroku-orgsopen)
55* [`heroku teams`](#heroku-teams)
56* [`heroku unlock`](#heroku-unlock)
57
58## `heroku access`
59
60list who has access to an app
61
62```
63USAGE
64 $ heroku access
65
66OPTIONS
67 -a, --app=app (required) app to run command against
68 -r, --remote=remote git remote of app to use
69 --json output in json format
70```
71
72## `heroku access:add EMAIL`
73
74add new users to your app
75
76```
77USAGE
78 $ heroku access:add EMAIL
79
80OPTIONS
81 -a, --app=app (required) app to run command against
82 -p, --permissions=permissions list of permissions comma separated
83 -r, --remote=remote git remote of app to use
84
85EXAMPLES
86 $ heroku access:add user@email.com --app APP # add a collaborator to your app
87 $ heroku access:add user@email.com --app APP --permissions deploy,manage,operate # permissions must be comma separated
88```
89
90## `heroku access:remove EMAIL`
91
92remove users from a team app
93
94```
95USAGE
96 $ heroku access:remove EMAIL
97
98OPTIONS
99 -a, --app=app (required) app to run command against
100 -r, --remote=remote git remote of app to use
101
102EXAMPLES
103 $ heroku access:remove user@email.com --app APP
104```
105
106## `heroku access:update EMAIL`
107
108update existing collaborators on an team app
109
110```
111USAGE
112 $ heroku access:update EMAIL
113
114OPTIONS
115 -a, --app=app (required) app to run command against
116 -p, --permissions=permissions comma-delimited list of permissions to update (deploy,manage,operate)
117 -r, --remote=remote git remote of app to use
118
119EXAMPLES
120 $ heroku access:update user@email.com --app APP --permissions deploy,manage,operate
121```
122
123## `heroku apps:join`
124
125add yourself to a team app
126
127```
128USAGE
129 $ heroku apps:join
130
131OPTIONS
132 -a, --app=app (required) app to run command against
133 -r, --remote=remote git remote of app to use
134```
135
136## `heroku apps:leave`
137
138remove yourself from a team app
139
140```
141USAGE
142 $ heroku apps:leave
143
144OPTIONS
145 -a, --app=app (required) app to run command against
146 -r, --remote=remote git remote of app to use
147```
148
149## `heroku apps:lock`
150
151prevent team members from joining an app
152
153```
154USAGE
155 $ heroku apps:lock
156
157OPTIONS
158 -a, --app=app (required) app to run command against
159 -r, --remote=remote git remote of app to use
160```
161
162## `heroku apps:transfer RECIPIENT`
163
164transfer applications to another user or team
165
166```
167USAGE
168 $ heroku apps:transfer RECIPIENT
169
170ARGUMENTS
171 RECIPIENT user or team to transfer applications to
172
173OPTIONS
174 -a, --app=app app to run command against
175 -l, --locked lock the app upon transfer
176 -r, --remote=remote git remote of app to use
177 --bulk transfer applications in bulk
178
179EXAMPLES
180 $ heroku apps:transfer collaborator@example.com
181 Transferring example to collaborator@example.com... done
182
183 $ heroku apps:transfer acme-widgets
184 Transferring example to acme-widgets... done
185
186 $ heroku apps:transfer --bulk acme-widgets
187 ...
188```
189
190## `heroku apps:unlock`
191
192unlock an app so any team member can join
193
194```
195USAGE
196 $ heroku apps:unlock
197
198OPTIONS
199 -a, --app=app (required) app to run command against
200 -r, --remote=remote git remote of app to use
201```
202
203## `heroku join`
204
205add yourself to a team app
206
207```
208USAGE
209 $ heroku join
210
211OPTIONS
212 -a, --app=app (required) app to run command against
213 -r, --remote=remote git remote of app to use
214```
215
216## `heroku leave`
217
218remove yourself from a team app
219
220```
221USAGE
222 $ heroku leave
223
224OPTIONS
225 -a, --app=app (required) app to run command against
226 -r, --remote=remote git remote of app to use
227```
228
229## `heroku lock`
230
231prevent team members from joining an app
232
233```
234USAGE
235 $ heroku lock
236
237OPTIONS
238 -a, --app=app (required) app to run command against
239 -r, --remote=remote git remote of app to use
240```
241
242## `heroku members`
243
244list members of a team
245
246```
247USAGE
248 $ heroku members
249
250OPTIONS
251 -r, --role=role filter by role
252 -t, --team=team team to use
253 --json output in json format
254 --pending filter by pending team invitations
255```
256
257## `heroku members:add EMAIL`
258
259adds a user to a team
260
261```
262USAGE
263 $ heroku members:add EMAIL
264
265OPTIONS
266 -r, --role=role (required) member role (admin, collaborator, member, owner)
267 -t, --team=team team to use
268```
269
270## `heroku members:remove EMAIL`
271
272removes a user from a team
273
274```
275USAGE
276 $ heroku members:remove EMAIL
277
278OPTIONS
279 -t, --team=team team to use
280```
281
282## `heroku members:set EMAIL`
283
284sets a members role in a team
285
286```
287USAGE
288 $ heroku members:set EMAIL
289
290OPTIONS
291 -r, --role=role (required) member role (admin, collaborator, member, owner)
292 -t, --team=team team to use
293```
294
295## `heroku orgs`
296
297list the teams that you are a member of
298
299```
300USAGE
301 $ heroku orgs
302
303OPTIONS
304 --enterprise filter by enterprise teams
305 --json output in json format
306```
307
308## `heroku orgs:open`
309
310open the team interface in a browser window
311
312```
313USAGE
314 $ heroku orgs:open
315
316OPTIONS
317 -t, --team=team team to use
318```
319
320## `heroku teams`
321
322list the teams that you are a member of
323
324```
325USAGE
326 $ heroku teams
327
328OPTIONS
329 --json output in json format
330
331DESCRIPTION
332 Use heroku members:* to manage team members.
333```
334
335## `heroku unlock`
336
337unlock an app so any team member can join
338
339```
340USAGE
341 $ heroku unlock
342
343OPTIONS
344 -a, --app=app (required) app to run command against
345 -r, --remote=remote git remote of app to use
346```
347<!-- commandsstop -->
348
\No newline at end of file