项目作者: heroku

项目描述 :
this code is now in https://github.com/heroku/cli
高级语言: JavaScript
项目地址: git://github.com/heroku/heroku-orgs.git
创建时间: 2015-04-06T17:35:09Z
项目社区:https://github.com/heroku/heroku-orgs

开源协议:ISC License

下载


Heroku Orgs CLI CircleCI

Code Climate
npm version
License

js-standard-style

Available commands

https://github.com/heroku/heroku-orgs/blob/master/index.js.

Development

First, please read Developing CLI Plugins on Heroku’s DevCenter.

Run Tests

  1. $ npm test

Deploy

  1. Release a new version of this npm package.

    1. $ npm version patch/minor/major
  2. Open a new pr in https://github.com/heroku/cli/blob/master/package.json, updating to the appropriate heroku-orgs version.

Commands

heroku access

list who has access to an app

  1. USAGE
  2. $ heroku access
  3. OPTIONS
  4. -a, --app=app (required) app to run command against
  5. -r, --remote=remote git remote of app to use
  6. --json output in json format

heroku access:add EMAIL

add new users to your app

  1. USAGE
  2. $ heroku access:add EMAIL
  3. OPTIONS
  4. -a, --app=app (required) app to run command against
  5. -p, --permissions=permissions list of permissions comma separated
  6. -r, --remote=remote git remote of app to use
  7. EXAMPLES
  8. $ heroku access:add user@email.com --app APP # add a collaborator to your app
  9. $ heroku access:add user@email.com --app APP --permissions deploy,manage,operate # permissions must be comma separated

heroku access:remove EMAIL

remove users from a team app

  1. USAGE
  2. $ heroku access:remove EMAIL
  3. OPTIONS
  4. -a, --app=app (required) app to run command against
  5. -r, --remote=remote git remote of app to use
  6. EXAMPLES
  7. $ heroku access:remove user@email.com --app APP

heroku access:update EMAIL

update existing collaborators on an team app

  1. USAGE
  2. $ heroku access:update EMAIL
  3. OPTIONS
  4. -a, --app=app (required) app to run command against
  5. -p, --permissions=permissions comma-delimited list of permissions to update (deploy,manage,operate)
  6. -r, --remote=remote git remote of app to use
  7. EXAMPLES
  8. $ heroku access:update user@email.com --app APP --permissions deploy,manage,operate

heroku apps:join

add yourself to an organization app

  1. USAGE
  2. $ heroku apps:join
  3. OPTIONS
  4. -a, --app=app (required) app to run command against
  5. -r, --remote=remote git remote of app to use

heroku apps:leave

remove yourself from an organization app

  1. USAGE
  2. $ heroku apps:leave
  3. OPTIONS
  4. -a, --app=app (required) app to run command against
  5. -r, --remote=remote git remote of app to use

heroku apps:lock

prevent organization members from joining an app

  1. USAGE
  2. $ heroku apps:lock
  3. OPTIONS
  4. -a, --app=app (required) app to run command against
  5. -r, --remote=remote git remote of app to use

heroku apps:transfer RECIPIENT

transfer applications to another user or team

  1. USAGE
  2. $ heroku apps:transfer RECIPIENT
  3. ARGUMENTS
  4. RECIPIENT user or team to transfer applications to
  5. OPTIONS
  6. -a, --app=app app to run command against
  7. -l, --locked lock the app upon transfer
  8. -r, --remote=remote git remote of app to use
  9. --bulk transfer applications in bulk
  10. EXAMPLES
  11. $ heroku apps:transfer collaborator@example.com
  12. Transferring example to collaborator@example.com... done
  13. $ heroku apps:transfer acme-widgets
  14. Transferring example to acme-widgets... done
  15. $ heroku apps:transfer --bulk acme-widgets
  16. ...

heroku apps:unlock

unlock an app so any organization member can join

  1. USAGE
  2. $ heroku apps:unlock
  3. OPTIONS
  4. -a, --app=app (required) app to run command against
  5. -r, --remote=remote git remote of app to use

heroku join

add yourself to an organization app

  1. USAGE
  2. $ heroku join
  3. OPTIONS
  4. -a, --app=app (required) app to run command against
  5. -r, --remote=remote git remote of app to use

heroku leave

remove yourself from an organization app

  1. USAGE
  2. $ heroku leave
  3. OPTIONS
  4. -a, --app=app (required) app to run command against
  5. -r, --remote=remote git remote of app to use

heroku lock

prevent organization members from joining an app

  1. USAGE
  2. $ heroku lock
  3. OPTIONS
  4. -a, --app=app (required) app to run command against
  5. -r, --remote=remote git remote of app to use

heroku members

list members of an organization or a team

  1. USAGE
  2. $ heroku members
  3. OPTIONS
  4. -r, --role=role filter by role
  5. -t, --team=team team to use
  6. --json output in json format
  7. --pending filter by pending team invitations

heroku members:add EMAIL

adds a user to an organization or a team

  1. USAGE
  2. $ heroku members:add EMAIL
  3. OPTIONS
  4. -r, --role=role (required) member role (admin, collaborator, member, owner)
  5. -t, --team=team team to use

heroku members:remove EMAIL

removes a user from an organization or a team

  1. USAGE
  2. $ heroku members:remove EMAIL
  3. OPTIONS
  4. -t, --team=team team to use

heroku members:set EMAIL

sets a members role in an organization or a team

  1. USAGE
  2. $ heroku members:set EMAIL
  3. OPTIONS
  4. -r, --role=role (required) member role (admin, collaborator, member, owner)
  5. -t, --team=team team to use

heroku orgs

list the organizations that you are a member of

  1. USAGE
  2. $ heroku orgs
  3. OPTIONS
  4. --enterprise filter by enterprise orgs
  5. --json output in json format
  6. --teams filter by teams

heroku orgs:open

open the organization interface in a browser window

  1. USAGE
  2. $ heroku orgs:open
  3. OPTIONS
  4. -t, --team=team team to use

heroku teams

list the teams that you are a member of

  1. USAGE
  2. $ heroku teams
  3. OPTIONS
  4. --json output in json format

heroku unlock

unlock an app so any organization member can join

  1. USAGE
  2. $ heroku unlock
  3. OPTIONS
  4. -a, --app=app (required) app to run command against
  5. -r, --remote=remote git remote of app to use