Skip to content

Commit

Permalink
updated plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed May 31, 2018
1 parent 1c72a72 commit c00e5e4
Show file tree
Hide file tree
Showing 15 changed files with 204 additions and 371 deletions.
88 changes: 38 additions & 50 deletions docs/apps.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,30 +69,28 @@ OPTIONS
--space=space the private space to create the app in
--ssh-git use SSH git protocol for local git remote
DESCRIPTION
Examples:
$ heroku apps:create
Creating app... done, stack is cedar-14
https://floating-dragon-42.heroku.com/ | https://git.heroku.com/floating-dragon-42.git
EXAMPLES
$ heroku apps:create
Creating app... done, stack is cedar-14
https://floating-dragon-42.heroku.com/ | https://git.heroku.com/floating-dragon-42.git
# or just
$ heroku create
# or just
$ heroku create
# use a heroku.yml manifest file
$ heroku apps:create --manifest
# use a heroku.yml manifest file
$ heroku apps:create --manifest
# specify a buildpack
$ heroku apps:create --buildpack https://github.com/some/buildpack.git
# specify a buildpack
$ heroku apps:create --buildpack https://github.com/some/buildpack.git
# specify a name
$ heroku apps:create example
# specify a name
$ heroku apps:create example
# create a staging app
$ heroku apps:create example-staging --remote staging
# create a staging app
$ heroku apps:create example-staging --remote staging
# create an app in the eu region
$ heroku apps:create --region eu
# create an app in the eu region
$ heroku apps:create --region eu
```

## `heroku apps:destroy`
Expand Down Expand Up @@ -182,18 +180,16 @@ OPTIONS
-s, --shell output more shell friendly key/value pairs
DESCRIPTION
Examples:
$ heroku apps:info
=== example
Git URL: https://git.heroku.com/example.git
Repo Size: 5M
...
$ heroku apps:info
=== example
Git URL: https://git.heroku.com/example.git
Repo Size: 5M
...
$ heroku apps:info --shell
git_url=https://git.heroku.com/example.git
repo_size=5000000
...
$ heroku apps:info --shell
git_url=https://git.heroku.com/example.git
repo_size=5000000
...
```

## `heroku apps:join`
Expand Down Expand Up @@ -247,15 +243,12 @@ OPTIONS
-a, --app=app (required) app to run command against
-r, --remote=remote git remote of app to use
DESCRIPTION
Examples:
$ heroku open -a myapp
# opens https://myapp.herokuapp.com
EXAMPLES
$ heroku open -a myapp
# opens https://myapp.herokuapp.com
$ heroku open -a myapp /foo
# opens https://myapp.herokuapp.com/foo
$ heroku open -a myapp /foo
# opens https://myapp.herokuapp.com/foo
```

## `heroku apps:rename NEWNAME`
Expand All @@ -272,14 +265,12 @@ OPTIONS
--ssh-git use ssh git protocol instead of https
DESCRIPTION
This will locally update the git remote if it is set to the old app.
Example:
$ heroku apps:rename --app oldname newname
https://newname.herokuapp.com/ | https://git.heroku.com/newname.git
Git remote heroku updated
EXAMPLES
$ heroku apps:rename --app oldname newname
https://newname.herokuapp.com/ | https://git.heroku.com/newname.git
Git remote heroku updated
```

## `heroku apps:stacks`
Expand Down Expand Up @@ -307,13 +298,10 @@ OPTIONS
-a, --app=app (required) app to run command against
-r, --remote=remote git remote of app to use
DESCRIPTION
Example:
$ heroku stack:set cedar-14 -a myapp
Stack set. Next release on myapp will use cedar-14.
Run git push heroku master to create a new release on myapp.
EXAMPLES
$ heroku stack:set cedar-14 -a myapp
Stack set. Next release on myapp will use cedar-14.
Run git push heroku master to create a new release on myapp.
```

## `heroku apps:transfer RECIPIENT`
Expand Down
81 changes: 0 additions & 81 deletions docs/auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@ login with your Heroku credentials
* [`heroku auth:logout`](#heroku-authlogout)
* [`heroku auth:token`](#heroku-authtoken)
* [`heroku auth:whoami`](#heroku-authwhoami)
* [`heroku authorizations`](#heroku-authorizations)
* [`heroku authorizations:create`](#heroku-authorizationscreate)
* [`heroku authorizations:info ID`](#heroku-authorizationsinfo-id)
* [`heroku authorizations:revoke ID`](#heroku-authorizationsrevoke-id)
* [`heroku authorizations:rotate ID`](#heroku-authorizationsrotate-id)
* [`heroku authorizations:update ID`](#heroku-authorizationsupdate-id)

## `heroku auth:2fa`

Expand Down Expand Up @@ -155,78 +149,3 @@ ALIASES
```

_See code: [@heroku-cli/plugin-auth](https://github.com/heroku/heroku-cli-plugin-auth/blob/v0.6.0/src/commands/auth/whoami.ts)_

## `heroku authorizations`

list OAuth authorizations

```
USAGE
$ heroku authorizations
OPTIONS
-j, --json output in json format
```

## `heroku authorizations:create`

create a new OAuth authorization

```
USAGE
$ heroku authorizations:create
OPTIONS
-S, --short only output token
-d, --description=description set a custom authorization description
-e, --expires-in=expires-in set expiration in seconds (default no expiration)
-j, --json output in json format
-s, --scope=scope set custom OAuth scopes
DESCRIPTION
This creates an authorization with access to your Heroku account.
```

## `heroku authorizations:info ID`

show an existing OAuth authorization

```
USAGE
$ heroku authorizations:info ID
OPTIONS
-j, --json output in json format
```

## `heroku authorizations:revoke ID`

revoke OAuth authorization

```
USAGE
$ heroku authorizations:revoke ID
```

## `heroku authorizations:rotate ID`

updates an OAuth authorization token

```
USAGE
$ heroku authorizations:rotate ID
```

## `heroku authorizations:update ID`

updates an OAuth authorization

```
USAGE
$ heroku authorizations:update ID
OPTIONS
-d, --description=description set a custom authorization description
--client-id=client-id identifier of OAuth client to set
--client-secret=client-secret secret of OAuth client to set
```
22 changes: 8 additions & 14 deletions docs/buildpacks.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
===================

add new app buildpack, inserting into list of buildpacks if necessary
Example:

$ heroku buildpacks:add -i 1 https://github.com/heroku/heroku-buildpack-ruby

* [`heroku buildpacks`](#heroku-buildpacks)
* [`heroku buildpacks:add URL`](#heroku-buildpacksadd-url)
Expand All @@ -24,9 +21,10 @@ OPTIONS
-a, --app=app (required) app to run command against
-r, --remote=remote git remote of app to use
DESCRIPTION
Examples:
$ heroku buildpacks
EXAMPLES
$ heroku buildpacks -a myapp
=== myapp Buildpack URL
heroku/ruby
```

## `heroku buildpacks:add URL`
Expand All @@ -42,10 +40,8 @@ OPTIONS
-i, --index=index the 1-based index of the URL in the list of URLs
-r, --remote=remote git remote of app to use
DESCRIPTION
Example:
$ heroku buildpacks:add -i 1 https://github.com/heroku/heroku-buildpack-ruby
EXAMPLES
$ heroku buildpacks:add -i 1 https://github.com/heroku/heroku-buildpack-ruby
```

## `heroku buildpacks:clear`
Expand Down Expand Up @@ -88,8 +84,6 @@ OPTIONS
-i, --index=index the 1-based index of the URL in the list of URLs
-r, --remote=remote git remote of app to use
DESCRIPTION
Example:
$ heroku buildpacks:set -i 1 heroku/ruby
EXAMPLES
$ heroku buildpacks:set -i 1 heroku/ruby
```
2 changes: 1 addition & 1 deletion docs/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ OPTIONS
-j, --json output in json format
```

_See code: [@oclif/plugin-commands](https://github.com/oclif/plugin-commands/blob/v0.0.0/src/commands/commands.ts)_
_See code: [@oclif/plugin-commands](https://github.com/oclif/plugin-commands/blob/v1.0.0/src/commands/commands.ts)_
33 changes: 14 additions & 19 deletions docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,17 +76,15 @@ OPTIONS
-a, --app=app (required) app to run command against
-r, --remote=remote git remote of app to use
DESCRIPTION
Examples:
$ heroku config:set RAILS_ENV=staging
Setting config vars and restarting example... done, v10
RAILS_ENV: staging
$ heroku config:set RAILS_ENV=staging RACK_ENV=staging
Setting config vars and restarting example... done, v11
RAILS_ENV: staging
RACK_ENV: staging
EXAMPLES
$ heroku config:set RAILS_ENV=staging
Setting config vars and restarting example... done, v10
RAILS_ENV: staging
$ heroku config:set RAILS_ENV=staging RACK_ENV=staging
Setting config vars and restarting example... done, v11
RAILS_ENV: staging
RACK_ENV: staging
```

## `heroku config:unset`
Expand All @@ -101,13 +99,10 @@ OPTIONS
-a, --app=app (required) app to run command against
-r, --remote=remote git remote of app to use
DESCRIPTION
Examples:
EXAMPLES
$ heroku config:unset RAILS_ENV
Unsetting RAILS_ENV and restarting example... done, v10
$ heroku config:unset RAILS_ENV
Unsetting RAILS_ENV and restarting example... done, v10
$ heroku config:unset RAILS_ENV RACK_ENV
Unsetting RAILS_ENV, RACK_ENV and restarting example... done, v10
$ heroku config:unset RAILS_ENV RACK_ENV
Unsetting RAILS_ENV, RACK_ENV and restarting example... done, v10
```
21 changes: 9 additions & 12 deletions docs/domains.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,15 @@ OPTIONS
-r, --remote=remote git remote of app to use
--json output in json format
DESCRIPTION
Example:
$ heroku domains
=== example Heroku Domain
example.herokuapp.com
=== example Custom Domains
Domain Name DNS Record Type DNS Target
─────────── ─────────────── ──────────
www.example.com CNAME www.example.herokudns.com
EXAMPLES
$ heroku domains
=== example Heroku Domain
example.herokuapp.com
=== example Custom Domains
Domain Name DNS Record Type DNS Target
─────────── ─────────────── ──────────
www.example.com CNAME www.example.herokudns.com
```

## `heroku domains:add HOSTNAME`
Expand Down
Loading

0 comments on commit c00e5e4

Please sign in to comment.