1 | Heroku 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 |
|
12 | https://github.com/heroku/heroku-orgs/blob/master/index.js.
|
13 |
|
14 | ### Development
|
15 |
|
16 | First, 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 |
|
26 | 1. Release a new version of this npm package.
|
27 |
|
28 | ```
|
29 | $ npm version patch/minor/major
|
30 | ```
|
31 |
|
32 | 2. 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 |
|
60 | list who has access to an app
|
61 |
|
62 | ```
|
63 | USAGE
|
64 | $ heroku access
|
65 |
|
66 | OPTIONS
|
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 |
|
74 | add new users to your app
|
75 |
|
76 | ```
|
77 | USAGE
|
78 | $ heroku access:add EMAIL
|
79 |
|
80 | OPTIONS
|
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 |
|
85 | EXAMPLES
|
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 |
|
92 | remove users from a team app
|
93 |
|
94 | ```
|
95 | USAGE
|
96 | $ heroku access:remove EMAIL
|
97 |
|
98 | OPTIONS
|
99 | -a, --app=app (required) app to run command against
|
100 | -r, --remote=remote git remote of app to use
|
101 |
|
102 | EXAMPLES
|
103 | $ heroku access:remove user@email.com --app APP
|
104 | ```
|
105 |
|
106 | ## `heroku access:update EMAIL`
|
107 |
|
108 | update existing collaborators on an team app
|
109 |
|
110 | ```
|
111 | USAGE
|
112 | $ heroku access:update EMAIL
|
113 |
|
114 | OPTIONS
|
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 |
|
119 | EXAMPLES
|
120 | $ heroku access:update user@email.com --app APP --permissions deploy,manage,operate
|
121 | ```
|
122 |
|
123 | ## `heroku apps:join`
|
124 |
|
125 | add yourself to a team app
|
126 |
|
127 | ```
|
128 | USAGE
|
129 | $ heroku apps:join
|
130 |
|
131 | OPTIONS
|
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 |
|
138 | remove yourself from a team app
|
139 |
|
140 | ```
|
141 | USAGE
|
142 | $ heroku apps:leave
|
143 |
|
144 | OPTIONS
|
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 |
|
151 | prevent team members from joining an app
|
152 |
|
153 | ```
|
154 | USAGE
|
155 | $ heroku apps:lock
|
156 |
|
157 | OPTIONS
|
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 |
|
164 | transfer applications to another user or team
|
165 |
|
166 | ```
|
167 | USAGE
|
168 | $ heroku apps:transfer RECIPIENT
|
169 |
|
170 | ARGUMENTS
|
171 | RECIPIENT user or team to transfer applications to
|
172 |
|
173 | OPTIONS
|
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 |
|
179 | EXAMPLES
|
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 |
|
192 | unlock an app so any team member can join
|
193 |
|
194 | ```
|
195 | USAGE
|
196 | $ heroku apps:unlock
|
197 |
|
198 | OPTIONS
|
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 |
|
205 | add yourself to a team app
|
206 |
|
207 | ```
|
208 | USAGE
|
209 | $ heroku join
|
210 |
|
211 | OPTIONS
|
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 |
|
218 | remove yourself from a team app
|
219 |
|
220 | ```
|
221 | USAGE
|
222 | $ heroku leave
|
223 |
|
224 | OPTIONS
|
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 |
|
231 | prevent team members from joining an app
|
232 |
|
233 | ```
|
234 | USAGE
|
235 | $ heroku lock
|
236 |
|
237 | OPTIONS
|
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 |
|
244 | list members of a team
|
245 |
|
246 | ```
|
247 | USAGE
|
248 | $ heroku members
|
249 |
|
250 | OPTIONS
|
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 |
|
259 | adds a user to a team
|
260 |
|
261 | ```
|
262 | USAGE
|
263 | $ heroku members:add EMAIL
|
264 |
|
265 | OPTIONS
|
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 |
|
272 | removes a user from a team
|
273 |
|
274 | ```
|
275 | USAGE
|
276 | $ heroku members:remove EMAIL
|
277 |
|
278 | OPTIONS
|
279 | -t, --team=team team to use
|
280 | ```
|
281 |
|
282 | ## `heroku members:set EMAIL`
|
283 |
|
284 | sets a members role in a team
|
285 |
|
286 | ```
|
287 | USAGE
|
288 | $ heroku members:set EMAIL
|
289 |
|
290 | OPTIONS
|
291 | -r, --role=role (required) member role (admin, collaborator, member, owner)
|
292 | -t, --team=team team to use
|
293 | ```
|
294 |
|
295 | ## `heroku orgs`
|
296 |
|
297 | list the teams that you are a member of
|
298 |
|
299 | ```
|
300 | USAGE
|
301 | $ heroku orgs
|
302 |
|
303 | OPTIONS
|
304 | --enterprise filter by enterprise teams
|
305 | --json output in json format
|
306 | ```
|
307 |
|
308 | ## `heroku orgs:open`
|
309 |
|
310 | open the team interface in a browser window
|
311 |
|
312 | ```
|
313 | USAGE
|
314 | $ heroku orgs:open
|
315 |
|
316 | OPTIONS
|
317 | -t, --team=team team to use
|
318 | ```
|
319 |
|
320 | ## `heroku teams`
|
321 |
|
322 | list the teams that you are a member of
|
323 |
|
324 | ```
|
325 | USAGE
|
326 | $ heroku teams
|
327 |
|
328 | OPTIONS
|
329 | --json output in json format
|
330 |
|
331 | DESCRIPTION
|
332 | Use heroku members:* to manage team members.
|
333 | ```
|
334 |
|
335 | ## `heroku unlock`
|
336 |
|
337 | unlock an app so any team member can join
|
338 |
|
339 | ```
|
340 | USAGE
|
341 | $ heroku unlock
|
342 |
|
343 | OPTIONS
|
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 |