Skip to content

Commit

Permalink
v7.41.0
Browse files Browse the repository at this point in the history
  • Loading branch information
RasPhilCo authored May 11, 2020
1 parent 3899d50 commit 7d2e9ef
Show file tree
Hide file tree
Showing 30 changed files with 236 additions and 134 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [7.41.0](https://github.com/heroku/cli/compare/v7.40.0...v7.41.0) (2020-05-11)


### Features

* v7 plugin run ([#1507](https://github.com/heroku/cli/issues/1507)) ([6a77f5a](https://github.com/heroku/cli/commit/6a77f5a716ddada766ce9184b59cbaebe48e2953))





# [7.40.0](https://github.com/heroku/cli/compare/v7.39.6...v7.40.0) (2020-05-01)

**Note:** Version bump only for package heroku
Expand Down
4 changes: 2 additions & 2 deletions docs/git.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ EXAMPLES
...
```

_See code: [@heroku-cli/plugin-git](https://github.com/heroku/cli/blob/v7.39.3/packages/git/src/commands/git/clone.ts)_
_See code: [@heroku-cli/plugin-git](https://github.com/heroku/cli/blob/v7.41.0/packages/git/src/commands/git/clone.ts)_

## `heroku git:remote`

Expand All @@ -55,4 +55,4 @@ EXAMPLES
$ heroku git:remote --remote heroku-staging -a example
```

_See code: [@heroku-cli/plugin-git](https://github.com/heroku/cli/blob/v7.39.3/packages/git/src/commands/git/remote.ts)_
_See code: [@heroku-cli/plugin-git](https://github.com/heroku/cli/blob/v7.41.0/packages/git/src/commands/git/remote.ts)_
6 changes: 3 additions & 3 deletions docs/local.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ EXAMPLE
$ heroku local web=1,worker=2
```

_See code: [@heroku-cli/plugin-local](https://github.com/heroku/cli/blob/v7.39.2/src/commands/local/index.ts)_
_See code: [@heroku-cli/plugin-local](https://github.com/heroku/cli/blob/v7.41.0/src/commands/local/index.ts)_

## `heroku local:run`

Expand All @@ -51,7 +51,7 @@ EXAMPLE
$ heroku local:run bin/migrate
```

_See code: [@heroku-cli/plugin-local](https://github.com/heroku/cli/blob/v7.39.2/src/commands/local/run.ts)_
_See code: [@heroku-cli/plugin-local](https://github.com/heroku/cli/blob/v7.41.0/src/commands/local/run.ts)_

## `heroku local:version`

Expand All @@ -62,4 +62,4 @@ USAGE
$ heroku local:version
```

_See code: [@heroku-cli/plugin-local](https://github.com/heroku/cli/blob/v7.39.2/src/commands/local/version.ts)_
_See code: [@heroku-cli/plugin-local](https://github.com/heroku/cli/blob/v7.41.0/src/commands/local/version.ts)_
9 changes: 5 additions & 4 deletions docs/logs.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ DESCRIPTION
disable colors with --no-color, HEROKU_LOGS_COLOR=0, or HEROKU_COLOR=0
EXAMPLES
$ heroku logs
2012-01-01T12:00:00+00:00 heroku[api]: Config add EXAMPLE by [email protected]
2012-01-01T12:00:01+00:00 heroku[api]: Release v1 created by [email protected]
$ heroku logs --app=my-app
$ heroku logs --num=50
$ heroku logs --dyno=web --app=my-app
$ heroku logs --app=my-app --tail
```

_See code: [@heroku-cli/plugin-run-v5](https://github.com/heroku/cli/blob/v7.39.3/packages/run-v5/commands/logs.js)_
_See code: [@heroku-cli/plugin-run](https://github.com/heroku/cli/blob/v7.41.0/src/commands/logs.ts)_
99 changes: 49 additions & 50 deletions docs/pg.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,55 +3,54 @@

manage postgresql databases

- [`heroku pg`](#heroku-pg)
- [`heroku pg [DATABASE]`](#heroku-pg-database)
- [`heroku pg:backups`](#heroku-pgbackups)
- [`heroku pg:backups:cancel [BACKUP_ID]`](#heroku-pgbackupscancel-backupid)
- [`heroku pg:backups:capture [DATABASE]`](#heroku-pgbackupscapture-database)
- [`heroku pg:backups:delete BACKUP_ID`](#heroku-pgbackupsdelete-backupid)
- [`heroku pg:backups:download [BACKUP_ID]`](#heroku-pgbackupsdownload-backupid)
- [`heroku pg:backups:info [BACKUP_ID]`](#heroku-pgbackupsinfo-backupid)
- [`heroku pg:backups:restore [BACKUP] [DATABASE]`](#heroku-pgbackupsrestore-backup-database)
- [`heroku pg:backups:schedule [DATABASE]`](#heroku-pgbackupsschedule-database)
- [`heroku pg:backups:schedules`](#heroku-pgbackupsschedules)
- [`heroku pg:backups:unschedule [DATABASE]`](#heroku-pgbackupsunschedule-database)
- [`heroku pg:backups:url [BACKUP_ID]`](#heroku-pgbackupsurl-backupid)
- [`heroku pg:bloat [DATABASE]`](#heroku-pgbloat-database)
- [`heroku pg:blocking [DATABASE]`](#heroku-pgblocking-database)
- [`heroku pg:connection-pooling:attach [DATABASE]`](#heroku-pgconnection-poolingattach-database)
- [`heroku pg:copy SOURCE TARGET`](#heroku-pgcopy-source-target)
- [`heroku pg:credentials [DATABASE]`](#heroku-pgcredentials-database)
- [`heroku pg:credentials:create [DATABASE]`](#heroku-pgcredentialscreate-database)
- [`heroku pg:credentials:destroy [DATABASE]`](#heroku-pgcredentialsdestroy-database)
- [`heroku pg:credentials:repair-default [DATABASE]`](#heroku-pgcredentialsrepair-default-database)
- [`heroku pg:credentials:rotate [DATABASE]`](#heroku-pgcredentialsrotate-database)
- [`heroku pg:credentials:url [DATABASE]`](#heroku-pgcredentialsurl-database)
- [`heroku pg:diagnose [DATABASE|REPORT_ID]`](#heroku-pgdiagnose-databasereportid)
- [`heroku pg:info [DATABASE]`](#heroku-pginfo-database)
- [`heroku pg:kill PID [DATABASE]`](#heroku-pgkill-pid-database)
- [`heroku pg:killall [DATABASE]`](#heroku-pgkillall-database)
- [`heroku pg:links [DATABASE]`](#heroku-pglinks-database)
- [`heroku pg:links:create REMOTE DATABASE`](#heroku-pglinkscreate-remote-database)
- [`heroku pg:links:destroy DATABASE LINK`](#heroku-pglinksdestroy-database-link)
- [`heroku pg:locks [DATABASE]`](#heroku-pglocks-database)
- [`heroku pg:maintenance [DATABASE]`](#heroku-pgmaintenance-database)
- [`heroku pg:maintenance:run [DATABASE]`](#heroku-pgmaintenancerun-database)
- [`heroku pg:maintenance:window DATABASE WINDOW`](#heroku-pgmaintenancewindow-database-window)
- [`heroku pg:outliers [DATABASE]`](#heroku-pgoutliers-database)
- [`heroku pg:promote DATABASE`](#heroku-pgpromote-database)
- [`heroku pg:ps [DATABASE]`](#heroku-pgps-database)
- [`heroku pg:psql [DATABASE]`](#heroku-pgpsql-database)
- [`heroku pg:pull SOURCE TARGET`](#heroku-pgpull-source-target)
- [`heroku pg:push SOURCE TARGET`](#heroku-pgpush-source-target)
- [`heroku pg:reset [DATABASE]`](#heroku-pgreset-database)
- [`heroku pg:settings [DATABASE]`](#heroku-pgsettings-database)
- [`heroku pg:settings:log-lock-waits [VALUE] [DATABASE]`](#heroku-pgsettingslog-lock-waits-value-database)
- [`heroku pg:settings:log-min-duration-statement [VALUE] [DATABASE]`](#heroku-pgsettingslog-min-duration-statement-value-database)
- [`heroku pg:settings:log-statement [VALUE] [DATABASE]`](#heroku-pgsettingslog-statement-value-database)
- [`heroku pg:unfollow DATABASE`](#heroku-pgunfollow-database)
- [`heroku pg:upgrade [DATABASE]`](#heroku-pgupgrade-database)
- [`heroku pg:vacuum-stats [DATABASE]`](#heroku-pgvacuum-stats-database)
- [`heroku pg:wait [DATABASE]`](#heroku-pgwait-database)
* [`heroku pg [DATABASE]`](#heroku-pg-database)
* [`heroku pg:backups`](#heroku-pgbackups)
* [`heroku pg:backups:cancel [BACKUP_ID]`](#heroku-pgbackupscancel-backup_id)
* [`heroku pg:backups:capture [DATABASE]`](#heroku-pgbackupscapture-database)
* [`heroku pg:backups:delete BACKUP_ID`](#heroku-pgbackupsdelete-backup_id)
* [`heroku pg:backups:download [BACKUP_ID]`](#heroku-pgbackupsdownload-backup_id)
* [`heroku pg:backups:info [BACKUP_ID]`](#heroku-pgbackupsinfo-backup_id)
* [`heroku pg:backups:restore [BACKUP] [DATABASE]`](#heroku-pgbackupsrestore-backup-database)
* [`heroku pg:backups:schedule [DATABASE]`](#heroku-pgbackupsschedule-database)
* [`heroku pg:backups:schedules`](#heroku-pgbackupsschedules)
* [`heroku pg:backups:unschedule [DATABASE]`](#heroku-pgbackupsunschedule-database)
* [`heroku pg:backups:url [BACKUP_ID]`](#heroku-pgbackupsurl-backup_id)
* [`heroku pg:bloat [DATABASE]`](#heroku-pgbloat-database)
* [`heroku pg:blocking [DATABASE]`](#heroku-pgblocking-database)
* [`heroku pg:connection-pooling:attach [DATABASE]`](#heroku-pgconnection-poolingattach-database)
* [`heroku pg:copy SOURCE TARGET`](#heroku-pgcopy-source-target)
* [`heroku pg:credentials [DATABASE]`](#heroku-pgcredentials-database)
* [`heroku pg:credentials:create [DATABASE]`](#heroku-pgcredentialscreate-database)
* [`heroku pg:credentials:destroy [DATABASE]`](#heroku-pgcredentialsdestroy-database)
* [`heroku pg:credentials:repair-default [DATABASE]`](#heroku-pgcredentialsrepair-default-database)
* [`heroku pg:credentials:rotate [DATABASE]`](#heroku-pgcredentialsrotate-database)
* [`heroku pg:credentials:url [DATABASE]`](#heroku-pgcredentialsurl-database)
* [`heroku pg:diagnose [DATABASE|REPORT_ID]`](#heroku-pgdiagnose-databasereport_id)
* [`heroku pg:info [DATABASE]`](#heroku-pginfo-database)
* [`heroku pg:kill PID [DATABASE]`](#heroku-pgkill-pid-database)
* [`heroku pg:killall [DATABASE]`](#heroku-pgkillall-database)
* [`heroku pg:links [DATABASE]`](#heroku-pglinks-database)
* [`heroku pg:links:create REMOTE DATABASE`](#heroku-pglinkscreate-remote-database)
* [`heroku pg:links:destroy DATABASE LINK`](#heroku-pglinksdestroy-database-link)
* [`heroku pg:locks [DATABASE]`](#heroku-pglocks-database)
* [`heroku pg:maintenance [DATABASE]`](#heroku-pgmaintenance-database)
* [`heroku pg:maintenance:run [DATABASE]`](#heroku-pgmaintenancerun-database)
* [`heroku pg:maintenance:window DATABASE WINDOW`](#heroku-pgmaintenancewindow-database-window)
* [`heroku pg:outliers [DATABASE]`](#heroku-pgoutliers-database)
* [`heroku pg:promote DATABASE`](#heroku-pgpromote-database)
* [`heroku pg:ps [DATABASE]`](#heroku-pgps-database)
* [`heroku pg:psql [DATABASE]`](#heroku-pgpsql-database)
* [`heroku pg:pull SOURCE TARGET`](#heroku-pgpull-source-target)
* [`heroku pg:push SOURCE TARGET`](#heroku-pgpush-source-target)
* [`heroku pg:reset [DATABASE]`](#heroku-pgreset-database)
* [`heroku pg:settings [DATABASE]`](#heroku-pgsettings-database)
* [`heroku pg:settings:log-lock-waits [VALUE] [DATABASE]`](#heroku-pgsettingslog-lock-waits-value-database)
* [`heroku pg:settings:log-min-duration-statement [VALUE] [DATABASE]`](#heroku-pgsettingslog-min-duration-statement-value-database)
* [`heroku pg:settings:log-statement [VALUE] [DATABASE]`](#heroku-pgsettingslog-statement-value-database)
* [`heroku pg:unfollow DATABASE`](#heroku-pgunfollow-database)
* [`heroku pg:upgrade [DATABASE]`](#heroku-pgupgrade-database)
* [`heroku pg:vacuum-stats [DATABASE]`](#heroku-pgvacuum-stats-database)
* [`heroku pg:wait [DATABASE]`](#heroku-pgwait-database)

## `heroku pg [DATABASE]`

Expand Down Expand Up @@ -585,8 +584,8 @@ USAGE
OPTIONS
-a, --app=app (required) app to run command against
-f, --force
-r, --remote=remote git remote of app to use
-f, --force skip database availability checks and force promotion
```

## `heroku pg:ps [DATABASE]`
Expand Down
28 changes: 14 additions & 14 deletions docs/pipelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ EXAMPLE
$ heroku pipelines
```

_See code: [@heroku-cli/plugin-pipelines](https://github.com/heroku/cli/blob/v7.38.1/src/commands/pipelines/index.ts)_
_See code: [@heroku-cli/plugin-pipelines](https://github.com/heroku/cli/blob/v7.41.0/src/commands/pipelines/index.ts)_

## `heroku pipelines:add PIPELINE`

Expand All @@ -59,7 +59,7 @@ EXAMPLE
$ heroku pipelines:add my-pipeline -a my-app -s production
```

_See code: [@heroku-cli/plugin-pipelines](https://github.com/heroku/cli/blob/v7.38.1/src/commands/pipelines/add.ts)_
_See code: [@heroku-cli/plugin-pipelines](https://github.com/heroku/cli/blob/v7.41.0/src/commands/pipelines/add.ts)_

## `heroku pipelines:connect NAME`

Expand All @@ -79,7 +79,7 @@ EXAMPLE
$ heroku pipelines:connect my-pipeline -r githuborg/reponame
```

_See code: [@heroku-cli/plugin-pipelines](https://github.com/heroku/cli/blob/v7.38.1/src/commands/pipelines/connect.ts)_
_See code: [@heroku-cli/plugin-pipelines](https://github.com/heroku/cli/blob/v7.41.0/src/commands/pipelines/connect.ts)_

## `heroku pipelines:create [NAME]`

Expand Down Expand Up @@ -109,7 +109,7 @@ EXAMPLES
$ heroku pipelines:create my-pipeline -a my-app-staging
```

_See code: [@heroku-cli/plugin-pipelines](https://github.com/heroku/cli/blob/v7.38.1/src/commands/pipelines/create.ts)_
_See code: [@heroku-cli/plugin-pipelines](https://github.com/heroku/cli/blob/v7.41.0/src/commands/pipelines/create.ts)_

## `heroku pipelines:destroy PIPELINE`

Expand All @@ -126,7 +126,7 @@ EXAMPLE
$ heroku pipelines:destroy my-pipeline
```

_See code: [@heroku-cli/plugin-pipelines](https://github.com/heroku/cli/blob/v7.38.1/src/commands/pipelines/destroy.ts)_
_See code: [@heroku-cli/plugin-pipelines](https://github.com/heroku/cli/blob/v7.41.0/src/commands/pipelines/destroy.ts)_

## `heroku pipelines:diff`

Expand All @@ -144,7 +144,7 @@ EXAMPLE
$ heroku pipelines:diff -a my-app-staging
```

_See code: [@heroku-cli/plugin-pipelines](https://github.com/heroku/cli/blob/v7.38.1/src/commands/pipelines/diff.ts)_
_See code: [@heroku-cli/plugin-pipelines](https://github.com/heroku/cli/blob/v7.41.0/src/commands/pipelines/diff.ts)_

## `heroku pipelines:info PIPELINE`

Expand All @@ -164,7 +164,7 @@ EXAMPLE
$ heroku pipelines:info my-pipeline
```

_See code: [@heroku-cli/plugin-pipelines](https://github.com/heroku/cli/blob/v7.38.1/src/commands/pipelines/info.ts)_
_See code: [@heroku-cli/plugin-pipelines](https://github.com/heroku/cli/blob/v7.41.0/src/commands/pipelines/info.ts)_

## `heroku pipelines:open PIPELINE`

Expand All @@ -181,7 +181,7 @@ EXAMPLE
$ heroku pipelines:open my-pipeline
```

_See code: [@heroku-cli/plugin-pipelines](https://github.com/heroku/cli/blob/v7.38.1/src/commands/pipelines/open.ts)_
_See code: [@heroku-cli/plugin-pipelines](https://github.com/heroku/cli/blob/v7.41.0/src/commands/pipelines/open.ts)_

## `heroku pipelines:promote`

Expand All @@ -200,7 +200,7 @@ EXAMPLE
$ heroku pipelines:promote -a my-app-staging
```

_See code: [@heroku-cli/plugin-pipelines](https://github.com/heroku/cli/blob/v7.38.1/src/commands/pipelines/promote.ts)_
_See code: [@heroku-cli/plugin-pipelines](https://github.com/heroku/cli/blob/v7.41.0/src/commands/pipelines/promote.ts)_

## `heroku pipelines:remove`

Expand All @@ -218,7 +218,7 @@ EXAMPLE
$ heroku pipelines:remove -a my-app
```

_See code: [@heroku-cli/plugin-pipelines](https://github.com/heroku/cli/blob/v7.38.1/src/commands/pipelines/remove.ts)_
_See code: [@heroku-cli/plugin-pipelines](https://github.com/heroku/cli/blob/v7.41.0/src/commands/pipelines/remove.ts)_

## `heroku pipelines:rename PIPELINE NAME`

Expand All @@ -236,7 +236,7 @@ EXAMPLE
$ heroku pipelines:rename my-pipeline new-pipeline-name
```

_See code: [@heroku-cli/plugin-pipelines](https://github.com/heroku/cli/blob/v7.38.1/src/commands/pipelines/rename.ts)_
_See code: [@heroku-cli/plugin-pipelines](https://github.com/heroku/cli/blob/v7.41.0/src/commands/pipelines/rename.ts)_

## `heroku pipelines:setup [NAME] [REPO]`

Expand All @@ -258,7 +258,7 @@ EXAMPLE
$ heroku pipelines:setup my-pipeline githuborg/reponame -t my-team
```

_See code: [@heroku-cli/plugin-pipelines](https://github.com/heroku/cli/blob/v7.38.1/src/commands/pipelines/setup.ts)_
_See code: [@heroku-cli/plugin-pipelines](https://github.com/heroku/cli/blob/v7.41.0/src/commands/pipelines/setup.ts)_

## `heroku pipelines:transfer OWNER`

Expand All @@ -280,7 +280,7 @@ EXAMPLES
$ heroku pipelines:transfer admin-team -p my-pipeline
```

_See code: [@heroku-cli/plugin-pipelines](https://github.com/heroku/cli/blob/v7.38.1/src/commands/pipelines/transfer.ts)_
_See code: [@heroku-cli/plugin-pipelines](https://github.com/heroku/cli/blob/v7.41.0/src/commands/pipelines/transfer.ts)_

## `heroku pipelines:update`

Expand All @@ -299,4 +299,4 @@ EXAMPLE
$ heroku pipelines:update -s staging -a my-app
```

_See code: [@heroku-cli/plugin-pipelines](https://github.com/heroku/cli/blob/v7.38.1/src/commands/pipelines/update.ts)_
_See code: [@heroku-cli/plugin-pipelines](https://github.com/heroku/cli/blob/v7.41.0/src/commands/pipelines/update.ts)_
4 changes: 2 additions & 2 deletions docs/reviewapps.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ EXAMPLE
$ heroku reviewapps:disable -p my-pipeline -a my-app --no-autodeploy
```

_See code: [@heroku-cli/plugin-pipelines](https://github.com/heroku/cli/blob/v7.38.1/src/commands/reviewapps/disable.ts)_
_See code: [@heroku-cli/plugin-pipelines](https://github.com/heroku/cli/blob/v7.41.0/src/commands/reviewapps/disable.ts)_

## `heroku reviewapps:enable`

Expand All @@ -48,4 +48,4 @@ EXAMPLE
$ heroku reviewapps:enable -p my-pipeline -a my-app --autodeploy --autodestroy
```

_See code: [@heroku-cli/plugin-pipelines](https://github.com/heroku/cli/blob/v7.38.1/src/commands/reviewapps/enable.ts)_
_See code: [@heroku-cli/plugin-pipelines](https://github.com/heroku/cli/blob/v7.41.0/src/commands/reviewapps/enable.ts)_
37 changes: 26 additions & 11 deletions docs/run.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ run a one-off process inside a Heroku dyno

* [`heroku run`](#heroku-run)
* [`heroku run:detached`](#heroku-rundetached)
* [`heroku run:inside`](#heroku-runinside)

## `heroku run`

Expand All @@ -15,7 +16,7 @@ USAGE
$ heroku run
OPTIONS
-a, --app=app (required) app to run command against
-a, --app=app (required) parent app used by review apps
-e, --env=env environment variables to set (use ';' to split multiple vars)
-r, --remote=remote git remote of app to use
-s, --size=size dyno size
Expand All @@ -29,14 +30,10 @@ DESCRIPTION
EXAMPLES
$ heroku run bash
Running bash on app.... up, run.1
~ $
$ heroku run -s hobby -- myscript.sh -a arg1 -s arg2
Running myscript.sh -a arg1 -s arg2 on app.... up, run.1
```

_See code: [@heroku-cli/plugin-run-v5](https://github.com/heroku/cli/blob/v7.39.3/packages/run-v5/commands/run.js)_
_See code: [@heroku-cli/plugin-run](https://github.com/heroku/cli/blob/v7.41.0/src/commands/run/index.ts)_

## `heroku run:detached`

Expand All @@ -51,13 +48,31 @@ OPTIONS
-e, --env=env environment variables to set (use ';' to split multiple vars)
-r, --remote=remote git remote of app to use
-s, --size=size dyno size
-t, --tail stream logs from the dyno
-t, --tail continually stream logs
--type=type process type
EXAMPLES
EXAMPLE
$ heroku run:detached ls
Running ls on app [detached]... up, run.1
Run heroku logs -a app -p run.1 to view the output.
```

_See code: [@heroku-cli/plugin-run-v5](https://github.com/heroku/cli/blob/v7.39.3/packages/run-v5/commands/run/detached.js)_
_See code: [@heroku-cli/plugin-run](https://github.com/heroku/cli/blob/v7.41.0/src/commands/run/detached.ts)_

## `heroku run:inside`

run a one-off process inside an existing heroku dyno

```
USAGE
$ heroku run:inside
OPTIONS
-a, --app=app (required) app to run command against
-e, --env=env environment variables to set (use ';' to split multiple vars)
-r, --remote=remote git remote of app to use
-x, --exit-code passthrough the exit code of the remote command
EXAMPLE
$ heroku run:inside web.1 bash
```

_See code: [@heroku-cli/plugin-run](https://github.com/heroku/cli/blob/v7.41.0/src/commands/run/inside.ts)_
Loading

0 comments on commit 7d2e9ef

Please sign in to comment.