Skip Navigation
Show nav
Dev Center
  • Get Started
  • ドキュメント
  • Changelog
  • Search
  • Get Started
    • Node.js
    • Ruby on Rails
    • Ruby
    • Python
    • Java
    • PHP
    • Go
    • Scala
    • Clojure
    • .NET
  • ドキュメント
  • Changelog
  • More
    Additional Resources
    • Home
    • Elements
    • Products
    • Pricing
    • Careers
    • Help
    • Status
    • Events
    • Podcasts
    • Compliance Center
    Heroku Blog

    Heroku Blog

    Find out what's new with Heroku on our blog.

    Visit Blog
  • Log inorSign up
Hide categories

Categories

  • Heroku のアーキテクチャ
    • コンピューティング (dyno)
      • dyno の管理
      • dyno の概念
      • dyno の動作
      • dyno の参照資料
      • dyno のトラブルシューティング
    • スタック (オペレーティングシステムイメージ)
    • ネットワーキングと DNS
    • プラットフォームポリシー
    • プラットフォームの原則
  • 開発者ツール
    • コマンドライン
    • Heroku の VS Code 拡張機能
  • デプロイ
    • Git を使用したデプロイ
    • Docker によるデプロイ
    • デプロイ統合
  • 継続的デリバリーとインテグレーション
    • 継続的統合
  • 言語サポート
    • Node.js
      • Node.js アプリのトラブルシューティング
      • Heroku での Node.js の動作
      • Node.js の操作
    • Ruby
      • Rails のサポート
      • Bundler の使用
      • Ruby の操作
      • Heroku での Ruby の動作
      • Ruby アプリのトラブルシューティング
    • Python
      • Python の操作
      • Python でのバックグラウンドジョブ
      • Heroku での Python の動作
      • Django の使用
    • Java
      • Heroku での Java の動作
      • Java の操作
      • Maven の使用
      • Spring Boot の使用
      • Java アプリのトラブルシューティング
    • PHP
      • PHP の操作
      • Heroku での PHP の動作
    • Go
      • Go の依存関係管理
    • Scala
    • Clojure
    • .NET
      • Working with .NET
  • データベースとデータ管理
    • Heroku Postgres
      • Postgres の基礎
      • Postgres スターターガイド
      • Postgres のパフォーマンス
      • Postgres のデータ転送と保持
      • Postgres の可用性
      • Postgres の特別なトピック
      • Heroku Postgres への移行
    • Heroku Key-Value Store
    • Apache Kafka on Heroku
    • その他のデータストア
  • AI
    • Vector Database
    • Working with AI
    • Heroku Inference
      • AI Models
      • Inference Essentials
      • Quick Start Guides
      • Inference API
    • Model Context Protocol
  • モニタリングとメトリクス
    • ログ記録
  • アプリのパフォーマンス
  • アドオン
    • すべてのアドオン
  • 共同作業
  • セキュリティ
    • アプリのセキュリティ
    • ID と認証
      • シングルサインオン (SSO)
    • Private Space
      • インフラストラクチャネットワーキング
    • コンプライアンス
  • Heroku Enterprise
    • Enterprise Accounts
    • Enterprise Team
    • Heroku Connect (Salesforce 同期)
      • Heroku Connect の管理
      • Heroku Connect のリファレンス
      • Heroku Connect のトラブルシューティング
  • パターンとベストプラクティス
  • Heroku の拡張
    • Platform API
    • アプリの Webhook
    • Heroku Labs
    • アドオンのビルド
      • アドオン開発のタスク
      • アドオン API
      • アドオンのガイドラインと要件
    • CLI プラグインのビルド
    • 開発ビルドパック
    • Dev Center
  • アカウントと請求
  • トラブルシューティングとサポート
  • Salesforce とのインテグレーション
  • 開発者ツール
  • コマンドライン
  • Heroku CLI コマンド

Heroku CLI コマンド

日本語 — Switch to English

この記事の英語版に更新があります。ご覧の翻訳には含まれていない変更点があるかもしれません。

最終更新日 2025年01月31日(金)

これらは、各コア Heroku CLI コマンドのヘルプテキストです。このテキストは、heroku help​、heroku --help​、または heroku -h​ を使用してターミナルでも表示できます。

heroku access

アプリにアクセスできるユーザーを一覧表示します。

USAGE
  $ heroku access -a <value> [-r <value>] [--json]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use
      --json            output in json format

DESCRIPTION
  list who has access to an app

コードを参照: ​src/commands/access/index.ts

heroku access:add EMAIL

アプリに新しいユーザーを追加します。

USAGE
  $ heroku access:add EMAIL -a <value> [-r <value>] [-p <value>]

ARGUMENTS
  EMAIL  email address of the team member

FLAGS
  -a, --app=<value>          (required) app to run command against
  -p, --permissions=<value>  list of permissions comma separated
  -r, --remote=<value>       git remote of app to use

DESCRIPTION
  add new users to your app

EXAMPLES
  $ heroku access:add user@email.com --app APP # add a collaborator to your app

  $ heroku access:add user@email.com --app APP --permissions deploy,manage,operate # permissions must be comma separated

コードを参照: ​src/commands/access/add.ts

heroku access:remove

チームアプリからユーザーを削除します。

USAGE
  $ heroku access:remove -a <value> [-r <value>]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  remove users from a team app

EXAMPLES
  $ heroku access:remove user@email.com --app APP

コードを参照: ​src/commands/access/remove.ts

heroku access:update EMAIL

チームアプリの既存の共同作業者を更新します。

USAGE
  $ heroku access:update EMAIL -p <value> -a <value> [-r <value>]

ARGUMENTS
  EMAIL  email address of the team member

FLAGS
  -a, --app=<value>          (required) app to run command against
  -p, --permissions=<value>  (required) comma-delimited list of permissions to
                             update (deploy,manage,operate)
  -r, --remote=<value>       git remote of app to use

DESCRIPTION
  update existing collaborators on an team app

コードを参照: ​src/commands/access/update.ts

​heroku addons [--all|--app APP]

アドオンとアタッチメントを一覧表示します。

USAGE
  $ heroku addons [--all|--app APP]

FLAGS
  -A, --all             show add-ons and attachments for all accessible apps
  -a, --app=<value>     app to run command against
  -r, --remote=<value>  git remote of app to use
      --json            return add-ons in json format

DESCRIPTION
  Lists your add-ons and attachments.

  The default filter applied depends on whether you are in a Heroku app
  directory. If so, the --app flag is implied. If not, the default of --all
  is implied. Explicitly providing either flag overrides the default
  behavior.


EXAMPLES
  $ heroku addons --all

  $ heroku addons --app acme-inc-www

コードを参照: ​src/commands/addons/index.ts

heroku addons:attach ADDON_NAME

アプリに既存のアドオンリソースをアタッチします。

USAGE
  $ heroku addons:attach ADDON_NAME -a <value> [--as <value>] [--credential
    <value>] [--confirm <value>] [-r <value>]

ARGUMENTS
  ADDON_NAME  unique identifier or globally unique name of the add-on

FLAGS
  -a, --app=<value>         (required) app to run command against
  -r, --remote=<value>      git remote of app to use
      --as=<value>          name for add-on attachment
      --confirm=<value>     overwrite existing add-on attachment with same name
      --credential=<value>  credential name for scoped access to Heroku Postgres

DESCRIPTION
  attach an existing add-on resource to an app

コードを参照: ​src/commands/addons/attach.ts

heroku addons:create SERVICE:PLAN

新しいアドオンリソースを作成します。

USAGE
  $ heroku addons:create SERVICE:PLAN... -a <value> [--name <value>] [--as
    <value>] [--confirm <value>] [--wait] [-r <value>]

ARGUMENTS
  SERVICE:PLAN...  unique identifier or unique name of the add-on service plan

FLAGS
  -a, --app=<value>      (required) app to run command against
  -r, --remote=<value>   git remote of app to use
      --as=<value>       name for the initial add-on attachment
      --confirm=<value>  overwrite existing config vars or existing add-on
                         attachments
      --name=<value>     name for the add-on resource
      --wait             watch add-on creation status and exit when complete

DESCRIPTION
  Create a new add-on resource.

  In order to add additional config items, please place them at the end of the
  command after a double-dash (--).


EXAMPLES
  Create an add-on resource:
  $heroku addons:create heroku-redis --app my-app
  Create an add-on resource with additional config items:
  $heroku addons:create heroku-postgresql:standard-0 --app my-app -- --fork DATABASE

コードを参照: ​src/commands/addons/create.ts

heroku addons:destroy ADDONNAME

アドオンリソースを永続的に破棄します。

USAGE
  $ heroku addons:destroy ADDONNAME... [-f] [-c <value>] [--wait] [-a
    <value>] [-r <value>]

ARGUMENTS
  ADDONNAME...  unique identifier or globally unique name of the add-on

FLAGS
  -a, --app=<value>      app to run command against
  -c, --confirm=<value>
  -f, --force            allow destruction even if connected to other apps
  -r, --remote=<value>   git remote of app to use
      --wait             watch add-on destruction status and exit when complete

DESCRIPTION
  permanently destroy an add-on resource

EXAMPLES
  addons:destroy [ADDON]... [flags]

コードを参照: ​src/commands/addons/destroy.ts

heroku addons:detach ATTACHMENT_NAME

アプリから既存のアドオンリソースをデタッチします。

USAGE
  $ heroku addons:detach ATTACHMENT_NAME -a <value> [-r <value>]

ARGUMENTS
  ATTACHMENT_NAME  unique identifier of the add-on attachment

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  detach an existing add-on resource from an app

コードを参照: ​src/commands/addons/detach.ts

heroku addons:docs ADDON

ブラウザでアドオンの Dev Center ドキュメントを開きます。

USAGE
  $ heroku addons:docs ADDON [--show-url] [-a <value>] [-r <value>]

ARGUMENTS
  ADDON  unique identifier or globally unique name of the add-on

FLAGS
  -a, --app=<value>     app to run command against
  -r, --remote=<value>  git remote of app to use
      --show-url        show URL, do not open browser

DESCRIPTION
  open an add-on's Dev Center documentation in your browser

コードを参照: ​src/commands/addons/docs.ts

heroku addons:info ADDON

詳細なアドオンリソースとアタッチメントの情報を表示します。

USAGE
  $ heroku addons:info ADDON

ARGUMENTS
  ADDON  unique identifier or globally unique name of the add-on

FLAGS
  -a, --app=<value>     app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  show detailed add-on resource and attachment information

コードを参照: ​src/commands/addons/info.ts

heroku addons:open ADDON

ブラウザでアドオンのダッシュボードを開きます。

USAGE
  $ heroku addons:open ADDON [--show-url] [-a <value>] [-r <value>]

ARGUMENTS
  ADDON  unique identifier or globally unique name of the add-on

FLAGS
  -a, --app=<value>     app to run command against
  -r, --remote=<value>  git remote of app to use
      --show-url        show URL, do not open browser

DESCRIPTION
  open an add-on's dashboard in your browser

コードを参照: ​src/commands/addons/open.ts

heroku addons:plans SERVICE

アドオンサービスの使用可能なすべてのプランを一覧表示します。

USAGE
  $ heroku addons:plans SERVICE [--json]

ARGUMENTS
  SERVICE  unique identifier or globally unique name of the add-on

FLAGS
  --json  output in json format

DESCRIPTION
  list all available plans for an add-on service

コードを参照: ​src/commands/addons/plans.ts

heroku addons:rename ADDON_NAME NEW_NAME

アドオンの名前を変更します。

USAGE
  $ heroku addons:rename ADDON_NAME NEW_NAME

ARGUMENTS
  ADDON_NAME  unique identifier or globally unique name of the add-on
  NEW_NAME    new globally unique name of the add-on

DESCRIPTION
  rename an add-on

コードを参照: ​src/commands/addons/rename.ts

heroku addons:services

使用可能なすべてのアドオンサービスを一覧表示します。

USAGE
  $ heroku addons:services [--json]

FLAGS
  --json  output in json format

DESCRIPTION
  list all available add-on services

コードを参照: ​src/commands/addons/services.ts

heroku addons:upgrade ADDON [PLAN]

アドオンプランを変更します。

USAGE
  $ heroku addons:upgrade ADDON [PLAN] [-a <value>] [-r <value>]

ARGUMENTS
  ADDON  unique identifier or globally unique name of the add-on
  PLAN   unique identifier or name of the plan

FLAGS
  -a, --app=<value>     app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  change add-on plan.
  See available plans with `heroku addons:plans SERVICE`.

  Note that `heroku addons:upgrade` and `heroku addons:downgrade` are the same.
  Either one can be used to change an add-on plan up or down.

  https://devcenter.heroku.com/articles/managing-add-ons


ALIASES
  $ heroku addons:downgrade

EXAMPLES
  Upgrade an add-on by service name:
  $ heroku addons:upgrade heroku-redis:premium-2
  Upgrade a specific add-on:
  $ heroku addons:upgrade swimming-briskly-123 heroku-redis:premium-2

コードを参照: ​src/commands/addons/upgrade.ts

heroku addons:wait [ADDON]

アプリ上のアドオンのプロビジョニングステータスを表示します。

USAGE
  $ heroku addons:wait [ADDON] [--wait-interval <value>] [-a <value>] [-r
    <value>]

ARGUMENTS
  ADDON  unique identifier or globally unique name of the add-on

FLAGS
  -a, --app=<value>            app to run command against
  -r, --remote=<value>         git remote of app to use
      --wait-interval=<value>  how frequently to poll in seconds

DESCRIPTION
  show provisioning status of the add-ons on the app

コードを参照: ​src/commands/addons/wait.ts

heroku apps

アプリを一覧表示します。

USAGE
  $ heroku apps [-A] [-j] [-s <value>] [-p] [-t <value>]

FLAGS
  -A, --all            include apps in all teams
  -j, --json           output in json format
  -p, --personal       list apps in personal account when a default team is set
  -s, --space=<value>  filter by space
  -t, --team=<value>   team to use

DESCRIPTION
  list your apps

EXAMPLES
  $ heroku apps

コードを参照: ​src/commands/apps/index.ts

heroku apps:create [APP]

新しいアプリを作成します。

USAGE
  $ heroku apps:create [APP] [--addons <value>] [-b <value>] [-n] [-r
    <value>] [-s <value>] [--space <value>] [--region <value>] [--json] [-t
    <value>]

ARGUMENTS
  APP  name of app to create

FLAGS
  -b, --buildpack=<value>  buildpack url to use for this app
  -n, --no-remote          do not create a git remote
  -r, --remote=<value>     [default: heroku] the git remote to create, default
                           "heroku"
  -s, --stack=<value>      the stack to create the app on
  -t, --team=<value>       team to use
      --addons=<value>     comma-delimited list of addons to install
      --json               output in json format
      --region=<value>     specify region for the app to run in
      --space=<value>      the private space to create the app in

DESCRIPTION
  creates a new app

EXAMPLES
  $ heroku apps:create
  Creating app... done, stack is heroku-24
  https://floating-dragon-42.heroku.com/ | https://git.heroku.com/floating-dragon-42.git
  # or just
  $ heroku create
  # 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 name
  $ heroku apps:create example
  # create a staging app
  $ heroku apps:create example-staging --remote staging
  # create an app in the eu region
  $ heroku apps:create --region eu

コードを参照: ​src/commands/apps/create.ts

heroku apps:destroy

アプリを永続的に破棄します。

USAGE
  $ heroku apps:destroy [APP] [-a <value>] [-r <value>] [-c <value>]

FLAGS
  -a, --app=<value>      app to run command against
  -c, --confirm=<value>
  -r, --remote=<value>   git remote of app to use

DESCRIPTION
  permanently destroy an app

コードを参照: ​src/commands/apps/destroy.ts

heroku apps:errors

アプリのエラーを表示します。

USAGE
  $ heroku apps:errors -a <value> [-r <value>] [--json] [--hours <value>]
    [--router] [--dyno]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use
      --dyno            show only dyno errors
      --hours=<value>   [default: 24] number of hours to look back (default 24)
      --json            output in json format
      --router          show only router errors

DESCRIPTION
  view app errors

コードを参照: ​src/commands/apps/errors.ts

heroku apps:favorites

お気に入りのアプリを一覧表示します。

USAGE
  $ heroku apps:favorites [-j]

FLAGS
  -j, --json  output in json format

DESCRIPTION
  list favorited apps

コードを参照: ​src/commands/apps/favorites/index.ts

heroku apps:favorites:add

アプリをお気に入りにします。

USAGE
  $ heroku apps:favorites:add -a <value> [-r <value>]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  favorites an app

コードを参照: ​src/commands/apps/favorites/add.ts

heroku apps:favorites:remove

アプリをお気に入りから削除します。

USAGE
  $ heroku apps:favorites:remove -a <value> [-r <value>]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  unfavorites an app

コードを参照: ​src/commands/apps/favorites/remove.ts

heroku apps:info

詳細なアプリ情報を表示します。

USAGE
  $ heroku apps:info [APP] [-a <value>] [-r <value>] [-s] [-j]

FLAGS
  -a, --app=<value>     app to run command against
  -j, --json            output in json format
  -r, --remote=<value>  git remote of app to use
  -s, --shell           output more shell friendly key/value pairs

DESCRIPTION
  show detailed app information

EXAMPLES
  $ heroku apps:info

  $ heroku apps:info --shell

コードを参照: ​src/commands/apps/info.ts

heroku apps:join

チームアプリに自分自身を追加します。

USAGE
  $ heroku apps:join -a <value> [-r <value>]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  add yourself to a team app

ALIASES
  $ heroku join

コードを参照: ​src/commands/apps/join.ts

heroku apps:leave

チームアプリから自分自身を削除します。

USAGE
  $ heroku apps:leave -a <value> [-r <value>]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  remove yourself from a team app

ALIASES
  $ heroku leave

EXAMPLES
  $ heroku apps:leave -a APP

コードを参照: ​src/commands/apps/leave.ts

heroku apps:lock

チームメンバーがアプリに参加できないようにします。

USAGE
  $ heroku apps:lock -a <value> [-r <value>]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  prevent team members from joining an app

ALIASES
  $ heroku lock

コードを参照: ​src/commands/apps/lock.ts

heroku apps:open [PATH]

Web ブラウザでアプリを開きます。

USAGE
  $ heroku apps:open [PATH] -a <value> [-r <value>]

ARGUMENTS
  PATH  base URL path of app

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  open the app in a web browser

EXAMPLES
  $ heroku open -a myapp

  $ heroku open -a myapp /foo

コードを参照: ​src/commands/apps/open.ts

heroku apps:rename NEWNAME

アプリの名前を変更します。

USAGE
  $ heroku apps:rename NEWNAME -a <value> [-r <value>]

ARGUMENTS
  NEWNAME  new unique name of the app

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  rename an app

EXAMPLES
  $ heroku apps:rename --app oldname newname

コードを参照: ​src/commands/apps/rename.ts

heroku apps:stacks

使用可能なスタックの一覧を表示します。

USAGE
  $ heroku apps:stacks -a <value> [-r <value>]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  show the list of available stacks

コードを参照: ​src/commands/apps/stacks/index.ts

heroku apps:stacks:set STACK

アプリのスタックを設定します。

USAGE
  $ heroku apps:stacks:set STACK -a <value> [-r <value>]

ARGUMENTS
  STACK  unique name or identifier of the stack

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  set the stack of an app

EXAMPLES
  $ heroku stack:set heroku-24 -a myapp
  Setting stack to heroku-24... done
  You will need to redeploy myapp for the change to take effect.
  Run git push heroku main to trigger a new build on myapp.

コードを参照: ​src/commands/apps/stacks/set.ts

heroku apps:transfer RECIPIENT

アプリケーションを別のユーザーまたはチームに移動します。

USAGE
  $ heroku apps:transfer RECIPIENT [-l] [--bulk] [-a <value>] [-r <value>]

ARGUMENTS
  RECIPIENT  user or team to transfer applications to

FLAGS
  -a, --app=<value>     app to run command against
  -l, --locked          lock the app upon transfer
  -r, --remote=<value>  git remote of app to use
      --bulk            transfer applications in bulk

DESCRIPTION
  transfer applications to another user or team

EXAMPLES
  $ heroku apps:transfer collaborator@example.com
  Transferring example to collaborator@example.com... done
  $ heroku apps:transfer acme-widgets
  Transferring example to acme-widgets... done
  $ heroku apps:transfer --bulk acme-widgets
  ...

コードを参照: ​src/commands/apps/transfer.ts

heroku apps:unlock

任意のチームメンバーが参加できるように、アプリのロックを解除します。

USAGE
  $ heroku apps:unlock -a <value> [-r <value>]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  unlock an app so any team member can join

ALIASES
  $ heroku unlock

コードを参照: ​src/commands/apps/unlock.ts

heroku auth:2fa

2FA ステータスを確認します。

USAGE
  $ heroku auth:2fa

DESCRIPTION
  check 2fa status

ALIASES
  $ heroku 2fa
  $ heroku twofactor

コードを参照: ​src/commands/auth/2fa/index.ts

heroku auth:2fa:disable

アカウントの 2FA を無効にします。

USAGE
  $ heroku auth:2fa:disable

DESCRIPTION
  disables 2fa on account

ALIASES
  $ heroku twofactor:disable
  $ heroku 2fa:disable

EXAMPLES
  $ heroku auth:2fa:disable

コードを参照: ​src/commands/auth/2fa/disable.ts

heroku auth:login

Heroku 資格情報でログインします。

USAGE
  $ heroku auth:login [--browser <value>] [-i] [-e <value>]

FLAGS
  -e, --expires-in=<value>  duration of token in seconds (default 30 days)
  -i, --interactive         login with username/password
      --browser=<value>     browser to open SSO with (example: "firefox",
                            "safari")

DESCRIPTION
  login with your Heroku credentials

ALIASES
  $ heroku login

コードを参照: ​src/commands/auth/login.ts

heroku auth:logout

ローカルログイン資格情報を消去し、API セッションを無効にします。

USAGE
  $ heroku auth:logout

DESCRIPTION
  clears local login credentials and invalidates API session

ALIASES
  $ heroku logout

コードを参照: ​src/commands/auth/logout.ts

heroku auth:token

現在の CLI 認証トークンを出力します。

USAGE
  $ heroku auth:token [-h]

FLAGS
  -h, --help  Show CLI help.

DESCRIPTION
  outputs current CLI authentication token.
  By default, the CLI auth token is only valid for 1 year. To generate a
  long-lived token, use heroku authorizations:create

コードを参照: ​src/commands/auth/token.ts

heroku auth:whoami

現在のログインしているユーザーを表示します。

USAGE
  $ heroku auth:whoami

DESCRIPTION
  display the current logged in user

ALIASES
  $ heroku whoami

コードを参照: ​src/commands/auth/whoami.ts

heroku authorizations

OAuth 認証を一覧表示します。

USAGE
  $ heroku authorizations [-j]

FLAGS
  -j, --json  output in json format

DESCRIPTION
  list OAuth authorizations

EXAMPLES
  $ heroku authorizations

コードを参照: ​src/commands/authorizations/index.ts

heroku authorizations:create

新しい OAuth 認証を作成します。

USAGE
  $ heroku authorizations:create [-d <value>] [-S] [-j] [-s <value>] [-e
  <value>]

FLAGS
  -S, --short                only output token
  -d, --description=<value>  set a custom authorization
  -e, --expires-in=<value>   set expiration in seconds (default no expiration)
  -j, --json                 output in json format
  -s, --scope=<value>        set custom OAuth scopes

DESCRIPTION
  create a new OAuth authorization

EXAMPLES
  $ heroku authorizations:create --description "For use with Anvil"

コードを参照: ​src/commands/authorizations/create.ts

heroku authorizations:info ID

既存の OAuth 認証を表示します。

USAGE
  $ heroku authorizations:info ID [-j]

ARGUMENTS
  ID  ID of the authorization

FLAGS
  -j, --json  output in json format

DESCRIPTION
  show an existing OAuth authorization

コードを参照: ​src/commands/authorizations/info.ts

heroku authorizations:rotate ID

OAuth 認証トークンを更新します。

USAGE
  $ heroku authorizations:rotate ID

ARGUMENTS
  ID  ID of the authorization

DESCRIPTION
  updates an OAuth authorization token

コードを参照: ​src/commands/authorizations/rotate.ts

heroku authorizations:update ID

OAuth 認証を更新します。

USAGE
  $ heroku authorizations:update ID [-d <value>] [--client-id <value>
    --client-secret <value>]

ARGUMENTS
  ID  ID of the authorization

FLAGS
  -d, --description=<value>    set a custom authorization description
      --client-id=<value>      identifier of OAuth client to set
      --client-secret=<value>  secret of OAuth client to set

DESCRIPTION
  updates an OAuth authorization

コードを参照: ​src/commands/authorizations/update.ts

heroku autocomplete [SHELL]

オートコンプリートのインストール手順を表示します。

USAGE
  $ heroku autocomplete [SHELL] [-r]

ARGUMENTS
  SHELL  shell type

FLAGS
  -r, --refresh-cache  refresh cache only (ignores displaying instructions)

DESCRIPTION
  display autocomplete installation instructions

EXAMPLES
  $ heroku autocomplete

  $ heroku autocomplete bash

  $ heroku autocomplete zsh

  $ heroku autocomplete --refresh-cache

コードを参照: ​src/commands/autocomplete/index.ts

heroku buildpacks

アプリの buildpack を表示します。

USAGE
  $ heroku buildpacks -a <value> [-r <value>]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  display the buildpacks for an app

コードを参照: ​src/commands/buildpacks/index.ts

heroku buildpacks:add BUILDPACK

新しいアプリの buildpack を追加し、必要に応じて buildpack の一覧に挿入します。

USAGE
  $ heroku buildpacks:add BUILDPACK -a <value> [-r <value>] [-i <value>]

ARGUMENTS
  BUILDPACK  namespace/name of the buildpack

FLAGS
  -a, --app=<value>     (required) app to run command against
  -i, --index=<value>   the 1-based index of the URL in the list of URLs
  -r, --remote=<value>  git remote of app to use

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

コードを参照: ​src/commands/buildpacks/add.ts

heroku buildpacks:clear

アプリで設定されているすべての buildpack を消去します。

USAGE
  $ heroku buildpacks:clear -a <value> [-r <value>]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  clear all buildpacks set on the app

コードを参照: ​src/commands/buildpacks/clear.ts

heroku buildpacks:info BUILDPACK

buildpack に関する情報をフェッチします。

USAGE
  $ heroku buildpacks:info BUILDPACK

ARGUMENTS
  BUILDPACK  namespace/name of the buildpack

DESCRIPTION
  fetch info about a buildpack

コードを参照: ​src/commands/buildpacks/info.ts

heroku buildpacks:remove [BUILDPACK]

アプリで設定されている buildpack を削除します。

USAGE
  $ heroku buildpacks:remove [BUILDPACK] -a <value> [-r <value>] [-i <value>]

ARGUMENTS
  BUILDPACK  namespace/name of the buildpack

FLAGS
  -a, --app=<value>     (required) app to run command against
  -i, --index=<value>   the 1-based index of the URL to remove from the list of
                        URLs
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  remove a buildpack set on the app

コードを参照: ​src/commands/buildpacks/remove.ts

heroku buildpacks:search [TERM]

buildpack を検索します。

USAGE
  $ heroku buildpacks:search [TERM] [--namespace <value>] [--name <value>]
    [--description <value>]

ARGUMENTS
  TERM  search term that searches across name, namespace, and description

FLAGS
  --description=<value>  buildpack description to filter on
  --name=<value>         buildpack names to filter on using a comma separated
                         list
  --namespace=<value>    buildpack namespaces to filter on using a comma
                         separated list

DESCRIPTION
  search for buildpacks

コードを参照: ​src/commands/buildpacks/search.ts

heroku buildpacks:set BUILDPACK

USAGE
  $ heroku buildpacks:set BUILDPACK -a <value> [-r <value>] [-i <value>]

ARGUMENTS
  BUILDPACK  namespace/name of the buildpack

FLAGS
  -a, --app=<value>     (required) app to run command against
  -i, --index=<value>   the 1-based index of the URL in the list of URLs
  -r, --remote=<value>  git remote of app to use

コードを参照: ​src/commands/buildpacks/set.ts

heroku buildpacks:versions BUILDPACK

buildpack のバージョンを一覧表示します。

USAGE
  $ heroku buildpacks:versions BUILDPACK

ARGUMENTS
  BUILDPACK  namespace/name of the buildpack

DESCRIPTION
  list versions of a buildpack

コードを参照: ​src/commands/buildpacks/versions.ts

heroku certs

アプリの SSL 証明書を一覧表示します。

USAGE
  $ heroku certs -a <value> [-r <value>]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  list SSL certificates for an app

コードを参照: ​src/commands/certs/index.ts

heroku certs:add CRT KEY

アプリに SSL 証明書を追加します。

USAGE
  $ heroku certs:add CRT KEY -a <value> [-r <value>]

ARGUMENTS
  CRT  absolute path of the certificate file on disk
  KEY  absolute path of the key file on disk

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  Add an SSL certificate to an app.

  Note: certificates with PEM encoding are also valid.


EXAMPLES
  $ heroku certs:add example.com.crt example.com.key
      If you require intermediate certificates, refer to this article on merging certificates to get a complete chain:
      https://help.salesforce.com/s/articleView?id=000333504&type=1

コードを参照: ​src/commands/certs/add.ts

heroku certs:auto

アプリの ACM ステータスを表示します。

USAGE
  $ heroku certs:auto -a <value> [--wait] [-r <value>]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use
      --wait            watch ACM status and display the status when complete

DESCRIPTION
  show ACM status for an app

コードを参照: ​src/commands/certs/auto/index.ts

heroku certs:auto:disable

アプリの ACM を無効にします。

USAGE
  $ heroku certs:auto:disable -a <value> [-r <value>]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  disable ACM for an app

コードを参照: ​src/commands/certs/auto/disable.ts

heroku certs:auto:enable

アプリの ACM ステータスを有効にします。

USAGE
  $ heroku certs:auto:enable -a <value> [--wait] [-r <value>]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use
      --wait            watch ACM status and exit when complete

DESCRIPTION
  enable ACM status for an app

コードを参照: ​src/commands/certs/auto/enable.ts

heroku certs:auto:refresh

アプリの ACM を更新します。

USAGE
  $ heroku certs:auto:refresh -a <value> [-r <value>]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  refresh ACM for an app

コードを参照: ​src/commands/certs/auto/refresh.ts

heroku certs:generate DOMAIN

鍵と CSR または自己署名証明書を生成します。

USAGE
  $ heroku certs:generate DOMAIN -a <value> [--selfsigned] [--keysize
    <value>] [--owner <value>] [--country <value>] [--area <value>] [--city
    <value>] [--subject <value>] [--now] [-r <value>]

ARGUMENTS
  DOMAIN  domain name to generate

FLAGS
  -a, --app=<value>      (required) app to run command against
  -r, --remote=<value>   git remote of app to use
      --area=<value>     sub-country area (state, province, etc.) of owner
      --city=<value>     city of owner
      --country=<value>  country of owner, as a two-letter ISO country code
      --keysize=<value>  RSA key size in bits (default: 2048)
      --now              do not prompt for any owner information
      --owner=<value>    name of organization certificate belongs to
      --selfsigned       generate a self-signed certificate instead of a CSR
      --subject=<value>  specify entire certificate subject

DESCRIPTION
  generate a key and a CSR or self-signed certificate

コードを参照: ​src/commands/certs/generate.ts

heroku certs:info

SSL 証明書の証明書情報を表示します。

USAGE
  $ heroku certs:info -a <value> [--name <value>] [--endpoint <value>]
    [--show-domains] [-r <value>]

FLAGS
  -a, --app=<value>       (required) app to run command against
  -r, --remote=<value>    git remote of app to use
      --endpoint=<value>  endpoint to check info on
      --name=<value>      name to check info on
      --show-domains      show associated domains

DESCRIPTION
  show certificate information for an SSL certificate

コードを参照: ​src/commands/certs/info.ts

heroku certs:remove

アプリから SSL 証明書を削除します。

USAGE
  $ heroku certs:remove -a <value> [--name <value>] [--endpoint <value>]
    [-r <value>]

FLAGS
  -a, --app=<value>       (required) app to run command against
  -r, --remote=<value>    git remote of app to use
      --endpoint=<value>  endpoint to remove
      --name=<value>      name to remove

DESCRIPTION
  remove an SSL certificate from an app

コードを参照: ​src/commands/certs/remove.ts

heroku certs:update CRT KEY

アプリの SSL 証明書を更新します。

USAGE
  $ heroku certs:update CRT KEY -a <value> [--name <value>] [--endpoint
    <value>] [-r <value>]

ARGUMENTS
  CRT  absolute path of the certificate file on disk
  KEY  absolute path of the key file on disk

FLAGS
  -a, --app=<value>       (required) app to run command against
  -r, --remote=<value>    git remote of app to use
      --endpoint=<value>  endpoint to update
      --name=<value>      name to update

DESCRIPTION
  update an SSL certificate on an app
  Note: certificates with PEM encoding are also valid


EXAMPLES
  $ heroku certs:update example.com.crt example.com.key
      If you require intermediate certificates, refer to this article on merging certificates to get a complete chain:
      https://help.salesforce.com/s/articleView?id=000333504&type=1

コードを参照: ​src/commands/certs/update.ts

heroku ci

指定されたパイプラインの最新の CI 実行を表示します。

USAGE
  $ heroku ci [-a <value>] [-r <value>] [--watch] [-p <value>]
    [--json]

FLAGS
  -a, --app=<value>       app to run command against
  -p, --pipeline=<value>  name of pipeline
  -r, --remote=<value>    git remote of app to use
      --json              output in json format
      --watch             keep running and watch for new and update tests

DESCRIPTION
  display the most recent CI runs for the given pipeline

EXAMPLES
  $ heroku ci --app murmuring-headland-14719

コードを参照: ​src/commands/ci/index.ts

heroku ci:config

CI の環境設定を表示します。

USAGE
  $ heroku ci:config [-a <value>] [-r <value>] [-s] [--json] [-p
    <value>]

FLAGS
  -a, --app=<value>       app to run command against
  -p, --pipeline=<value>  name of pipeline
  -r, --remote=<value>    git remote of app to use
  -s, --shell             output config vars in shell format
      --json              output config vars in json format

DESCRIPTION
  display CI config vars

EXAMPLES
  $ heroku ci:config --app murmuring-headland-14719 --json

コードを参照: ​src/commands/ci/config/index.ts

heroku ci:config:get KEY

CI の環境設定を取得します。

USAGE
  $ heroku ci:config:get KEY [-h] [-a <value>] [-r <value>] [-p <value>]
    [-s]

ARGUMENTS
  KEY  name of the config var key

FLAGS
  -a, --app=<value>       app to run command against
  -h, --help              Show CLI help.
  -p, --pipeline=<value>  name of pipeline
  -r, --remote=<value>    git remote of app to use
  -s, --shell             output config var in shell format

DESCRIPTION
  get a CI config var

EXAMPLES
  $ heroku ci:config:get --pipeline=PIPELINE RAILS_ENV
      test

コードを参照: ​src/commands/ci/config/get.ts

heroku ci:config:set

CI の環境設定を設定します。

USAGE
  $ heroku ci:config:set [-a <value>] [-r <value>] [-p <value>]

FLAGS
  -a, --app=<value>       app to run command against
  -p, --pipeline=<value>  name of pipeline
  -r, --remote=<value>    git remote of app to use

DESCRIPTION
  set CI config vars

EXAMPLES
  $ heroku ci:config:set --pipeline PIPELINE RAILS_ENV=test
      Setting test config vars... done
      RAILS_ENV: test

コードを参照: ​src/commands/ci/config/set.ts

heroku ci:config:unset

CI の環境設定を設定解除します。

USAGE
  $ heroku ci:config:unset [-a <value>] [-r <value>] [-p <value>]

FLAGS
  -a, --app=<value>       app to run command against
  -p, --pipeline=<value>  name of pipeline
  -r, --remote=<value>    git remote of app to use

DESCRIPTION
  unset CI config vars

EXAMPLES
  $ heroku ci:config:unset RAILS_ENV

コードを参照: ​src/commands/ci/config/unset.ts

heroku ci:debug

現在のディレクトリの内容を使用して対話型テストデバッグセッションを開きます。

USAGE
  $ heroku ci:debug [-a <value>] [--no-cache] [--no-setup] [-p <value>]

FLAGS
  -a, --app=<value>       app to run command against
  -p, --pipeline=<value>  name of pipeline
      --no-cache          start test run with an empty cache
      --no-setup          start test dyno without running test-setup

DESCRIPTION
  opens an interactive test debugging session with the contents of the current
  directory

コードを参照: ​src/commands/ci/debug.ts

heroku ci:info TEST-RUN

特定のテスト実行のステータスを表示します。

USAGE
  $ heroku ci:info TEST-RUN [-a <value>] [-r <value>] [--node
    <value>] [-p <value>]

ARGUMENTS
  TEST-RUN  auto-incremented test run number

FLAGS
  -a, --app=<value>       app to run command against
  -p, --pipeline=<value>  name of pipeline
  -r, --remote=<value>    git remote of app to use
      --node=<value>      the node number to show its setup and output

DESCRIPTION
  show the status of a specific test run

EXAMPLES
  $ heroku ci:info 1288 --app murmuring-headland-14719

コードを参照: ​src/commands/ci/info.ts

heroku ci:last

最新の実行を検索し、その実行の出力を返します。

USAGE
  $ heroku ci:last [-a <value>] [-r <value>] [--node <value>] [-p
    <value>]

FLAGS
  -a, --app=<value>       app to run command against
  -p, --pipeline=<value>  name of pipeline
  -r, --remote=<value>    git remote of app to use
      --node=<value>      the node number to show its setup and output

DESCRIPTION
  looks for the most recent run and returns the output of that run

EXAMPLES
  $ heroku ci:last --pipeline=my-pipeline --node 100

コードを参照: ​src/commands/ci/last.ts

heroku ci:migrate-manifest

app-ci.json は非推奨になっています。環境キーを使用して app.json に移行するには、このコマンドを実行します。

USAGE
  $ heroku ci:migrate-manifest

DESCRIPTION
  app-ci.json is deprecated. Run this command to migrate to app.json with an
  environments key.

EXAMPLES
  $ heroku ci:migrate-manifest

コードを参照: ​src/commands/ci/migrate-manifest.ts

heroku ci:open

Heroku CI の Dashboard バージョンを開きます。

USAGE
  $ heroku ci:open -a <value> [-h] [-r <value>] [-p <value>]

FLAGS
  -a, --app=<value>       (required) app to run command against
  -h, --help              Show CLI help.
  -p, --pipeline=<value>  name of pipeline
  -r, --remote=<value>    git remote of app to use

DESCRIPTION
  open the Dashboard version of Heroku CI

EXAMPLES
  $ heroku ci:open --app murmuring-headland-14719

コードを参照: ​src/commands/ci/open.ts

heroku ci:rerun [NUMBER]

現在のディレクトリに対してテストを再実行します。

USAGE
  $ heroku ci:rerun [NUMBER] [-a <value>] [-r <value>] [-p <value>]

ARGUMENTS
  NUMBER  auto-incremented test run number

FLAGS
  -a, --app=<value>       app to run command against
  -p, --pipeline=<value>  name of pipeline
  -r, --remote=<value>    git remote of app to use

DESCRIPTION
  rerun tests against current directory

EXAMPLES
  $ heroku ci:rerun 985 --app murmuring-headland-14719

コードを参照: ​src/commands/ci/rerun.ts

heroku ci:run

現在のディレクトリに対してテストを実行します。

USAGE
  $ heroku ci:run [-a <value>] [-r <value>] [-p <value>]

FLAGS
  -a, --app=<value>       app to run command against
  -p, --pipeline=<value>  name of pipeline
  -r, --remote=<value>    git remote of app to use

DESCRIPTION
  run tests against current directory

EXAMPLES
  $ heroku ci:run --app murmuring-headland-14719

コードを参照: ​src/commands/ci/run.ts

heroku clients

OAuth クライアントを一覧表示します。

USAGE
  $ heroku clients [-j]

FLAGS
  -j, --json  output in json format

DESCRIPTION
  list your OAuth clients

コードを参照: ​src/commands/clients/index.ts

heroku clients:create NAME REDIRECT_URI

新しい OAuth クライアントを作成します。

USAGE
  $ heroku clients:create NAME REDIRECT_URI [-j] [-s]

ARGUMENTS
  NAME          name of the OAuth client
  REDIRECT_URI  redirect URL of the OAuth client

FLAGS
  -j, --json   output in json format
  -s, --shell  output in shell format

DESCRIPTION
  create a new OAuth client

EXAMPLES
  $ heroku clients:create "Amazing" https://amazing-client.herokuapp.com/auth/heroku/callback

コードを参照: ​src/commands/clients/create.ts

heroku clients:destroy ID

ID でクライアントを削除します。

USAGE
  $ heroku clients:destroy ID

ARGUMENTS
  ID  ID of the OAuth client

DESCRIPTION
  delete client by ID

コードを参照: ​src/commands/clients/destroy.ts

heroku clients:info ID

OAuth クライアントの詳細を表示します。

USAGE
  $ heroku clients:info ID [-j] [-s]

ARGUMENTS
  ID  ID of the OAuth client

FLAGS
  -j, --json   output in json format
  -s, --shell  output in shell format

DESCRIPTION
  show details of an oauth client

EXAMPLES
  $ heroku clients:info 36120128-fee7-455e-8b7f-807aee130946

コードを参照: ​src/commands/clients/info.ts

heroku clients:rotate ID

OAuth クライアントの秘密鍵を定期的に変更します。

USAGE
  $ heroku clients:rotate ID [-j] [-s]

ARGUMENTS
  ID  ID of the OAuth client

FLAGS
  -j, --json   output in json format
  -s, --shell  output in shell format

DESCRIPTION
  rotate OAuth client secret

コードを参照: ​src/commands/clients/rotate.ts

heroku clients:update ID

OAuth クライアントを更新します。

USAGE
  $ heroku clients:update ID [-n <value>] [--url <value>]

ARGUMENTS
  ID  ID of the OAuth client

FLAGS
  -n, --name=<value>  change the client name
      --url=<value>   change the client redirect URL

DESCRIPTION
  update OAuth client

EXAMPLES
  $ heroku clients:update 3e304bda-d376-4278-bdea-6d6c08aa1359 --url https://amazing-client.herokuapp.com/auth/heroku/callback

コードを参照: ​src/commands/clients/update.ts

heroku commands

すべてのコマンドを一覧表示します。

USAGE
  $ heroku commands [--json] [-h] [--hidden] [--tree] [--columns
    <value> | -x] [--sort <value>] [--filter <value>] [--output csv|json|yaml |
    | [--csv | --no-truncate]] [--no-header | ]

FLAGS
  -h, --help             Show CLI help.
  -x, --extended         show extra columns
      --columns=<value>  only show provided columns (comma-separated)
      --csv              output is csv format [alias: --output=csv]
      --filter=<value>   filter property by partial string matching, ex:
                         name=foo
      --hidden           show hidden commands
      --no-header        hide table header from output
      --no-truncate      do not truncate output to fit screen
      --output=<option>  output in a more machine friendly format
                         <options: csv|json|yaml>
      --sort=<value>     property to sort by (prepend '-' for descending)
      --tree             show tree of commands

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  list all the commands

コードを参照: ​@oclif/plugin-commands

heroku config

アプリの環境設定を表示します。

USAGE
  $ heroku config -a <value> [-r <value>] [-s] [-j]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -j, --json            output config vars in json format
  -r, --remote=<value>  git remote of app to use
  -s, --shell           output config vars in shell format

DESCRIPTION
  display the config vars for an app

コードを参照: ​src/commands/config/index.ts

heroku config:edit [KEY]

環境設定を対話的に編集します。

USAGE
  $ heroku config:edit [KEY] -a <value> [-r <value>]

ARGUMENTS
  KEY  edit a single key

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  interactively edit config vars
  This command opens the app config in a text editor set by $VISUAL or $EDITOR.
  Any variables added/removed/changed will be updated on the app after saving
  and closing the file.

EXAMPLES
  # edit with vim
  $ EDITOR="vim" heroku config:edit

  # edit with emacs
  $ EDITOR="emacs" heroku config:edit

  # edit with pico
  $ EDITOR="pico" heroku config:edit

  # edit with atom editor
  $ VISUAL="atom --wait" heroku config:edit

コードを参照: ​src/commands/config/edit.ts

heroku config:get KEY...

アプリの 1 つの設定値を表示します。

USAGE
  $ heroku config:get KEY...

ARGUMENTS
  KEY...  key name of the config var value

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use
  -s, --shell           output config vars in shell format

DESCRIPTION
  display a single config value for an app

EXAMPLES
  $ heroku config:get RAILS_ENV
  production

コードを参照: ​src/commands/config/get.ts

heroku config:set

1 つ以上の環境設定を設定します。

USAGE
  $ heroku config:set -a <value> [-r <value>]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  set one or more config vars

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

コードを参照: ​src/commands/config/set.ts

heroku config:unset

1 つ以上の環境設定を設定解除します。

USAGE
  $ heroku config:unset -a <value> [-r <value>]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  unset one or more config vars

ALIASES
  $ heroku config:remove

EXAMPLES
  $ 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

コードを参照: ​src/commands/config/unset.ts

heroku container

コンテナを使用して Heroku アプリをビルドしてデプロイします。

USAGE
  $ heroku container

DESCRIPTION
  Use containers to build and deploy Heroku apps

コードを参照: ​src/commands/container/index.ts

heroku container:login

Heroku Container Registry にログインします。

USAGE
  $ heroku container:login [-v]

FLAGS
  -v, --verbose

DESCRIPTION
  log in to Heroku Container Registry

コードを参照: ​src/commands/container/login.ts

heroku container:logout

Heroku Container Registry からログアウトします。

USAGE
  $ heroku container:logout [-v]

FLAGS
  -v, --verbose

DESCRIPTION
  log out from Heroku Container Registry

コードを参照: ​src/commands/container/logout.ts

heroku container:pull -a APP [-v] PROCESS_TYPE...

アプリのプロセスタイプからイメージをプルします。

USAGE
  $ heroku container:pull -a APP [-v] PROCESS_TYPE...

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use
  -v, --verbose

DESCRIPTION
  pulls an image from an app's process type

EXAMPLES
    $ heroku container:pull web        # Pulls the web image from the app
    $ heroku container:pull web worker # Pulls both the web and worker images from the app
    $ heroku container:pull web:latest # Pulls the latest tag from the web image

コードを参照: ​src/commands/container/pull.ts

heroku container:push

Docker イメージをビルドした後、プッシュして Heroku アプリにデプロイします。

USAGE
  $ heroku container:push -a <value> [-v] [-R] [--arg <value>]
    [--context-path <value>] [-r <value>]

FLAGS
  -R, --recursive             pushes Dockerfile.<process> found in current and
                              subdirectories
  -a, --app=<value>           (required) app to run command against
  -r, --remote=<value>        git remote of app to use
  -v, --verbose
      --arg=<value>           set build-time variables
      --context-path=<value>  path to use as build context (defaults to
                              Dockerfile dir)

DESCRIPTION
  builds, then pushes Docker images to deploy your Heroku app

EXAMPLES
  $ heroku container:push web                          # Pushes Dockerfile to web process type

  $ heroku container:push worker                       # Pushes Dockerfile to worker process type

  $ heroku container:push web worker --recursive       # Pushes Dockerfile.web and Dockerfile.worker

  $ heroku container:push --recursive                  # Pushes Dockerfile.*

  $ heroku container:push web --arg ENV=live,HTTPS=on  # Build-time variables

  $ heroku container:push --recursive --context-path . # Pushes Dockerfile.* using current dir as build context

コードを参照: ​src/commands/container/push.ts

heroku container:release

以前にプッシュされた Docker イメージを Heroku アプリにリリースします。

USAGE
  $ heroku container:release

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use
  -v, --verbose

DESCRIPTION
  Releases previously pushed Docker images to your Heroku app

EXAMPLES
    heroku container:release web        # Releases the previously pushed web process type
    heroku container:release web worker # Releases the previously pushed web and worker process types

コードを参照: ​src/commands/container/release.ts

heroku container:rm -a APP [-v] PROCESS_TYPE...

アプリのプロセスタイプを削除します。

USAGE
  $ heroku container:rm -a APP [-v] PROCESS_TYPE...

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  remove the process type from your app

EXAMPLES
    heroku container:rm web        # Destroys the web container
    heroku container:rm web worker # Destroys the web and worker containers

コードを参照: ​src/commands/container/rm.ts

heroku container:run -a APP [-v] PROCESS_TYPE...

Docker イメージをビルドした後、ローカルで実行します。

USAGE
  $ heroku container:run -a APP [-v] PROCESS_TYPE...

FLAGS
  -a, --app=<value>     (required) app to run command against
  -p, --port=<value>    [default: 5000] port the app will run on
  -r, --remote=<value>  git remote of app to use
  -v, --verbose

DESCRIPTION
  builds, then runs the docker image locally

EXAMPLES
    $ heroku container:pull web        # Pulls the web image from the app
    $ heroku container:pull web worker # Pulls both the web and worker images from the app
    $ heroku container:pull web:latest # Pulls the latest tag from the web image

コードを参照: ​src/commands/container/run.ts

heroku domains

アプリのドメインを一覧表示します。

USAGE
  $ heroku domains -a <value> [-h] [-r <value>] [-j] [--columns
    <value> | -x] [--sort <value>] [--filter <value>] [--output csv|json|yaml |
    | [--csv | ]] [--no-header | ]

FLAGS
  -a, --app=<value>      (required) app to run command against
  -h, --help             Show CLI help.
  -j, --json             output in json format
  -r, --remote=<value>   git remote of app to use
  -x, --extended         show extra columns
      --columns=<value>  only show provided columns (comma-separated)
      --csv              output is csv format [alias: --output=csv]
      --filter=<value>   filter property by partial string matching, ex:
                         name=foo
      --no-header        hide table header from output
      --output=<option>  output in a more machine friendly format
                         <options: csv|json|yaml>
      --sort=<value>     property to sort by (prepend '-' for descending)

DESCRIPTION
  list domains for an app

EXAMPLES
  $ heroku domains
  === example Heroku Domain
  example-xxxxxxxxxxxx.herokuapp.com
  === example Custom Domains
  Domain Name      DNS Record Type  DNS Target
  www.example.com  CNAME            www.example.herokudns.com

  $ heroku domains --filter 'Domain Name=www.example.com'

コードを参照: ​src/commands/domains/index.ts

heroku domains:add HOSTNAME

アプリにドメインを追加します。

USAGE
  $ heroku domains:add HOSTNAME -a <value> [-h] [-c <value>] [-j]
    [--wait] [-r <value>]

ARGUMENTS
  HOSTNAME  unique identifier of the domain or full hostname

FLAGS
  -a, --app=<value>     (required) app to run command against
  -c, --cert=<value>    the name of the SSL cert you want to use for this domain
  -h, --help            Show CLI help.
  -j, --json            output in json format
  -r, --remote=<value>  git remote of app to use
  --wait

DESCRIPTION
  add a domain to an app

EXAMPLES
  $ heroku domains:add www.example.com

コードを参照: ​src/commands/domains/add.ts

heroku domains:clear

アプリからすべてのドメインを削除します。

USAGE
  $ heroku domains:clear -a <value> [-h] [-r <value>]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -h, --help            Show CLI help.
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  remove all domains from an app

EXAMPLES
  $ heroku domains:clear

コードを参照: ​src/commands/domains/clear.ts

heroku domains:info HOSTNAME

アプリのドメインに関する詳細情報を表示します。

USAGE
  $ heroku domains:info HOSTNAME -a <value> [-h] [-r <value>]

ARGUMENTS
  HOSTNAME  unique identifier of the domain or full hostname

FLAGS
  -a, --app=<value>     (required) app to run command against
  -h, --help            Show CLI help.
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  show detailed information for a domain on an app

EXAMPLES
  $ heroku domains:info www.example.com

コードを参照: ​src/commands/domains/info.ts

heroku domains:remove HOSTNAME

アプリからドメインを削除します。

USAGE
  $ heroku domains:remove HOSTNAME -a <value> [-h] [-r <value>]

ARGUMENTS
  HOSTNAME  unique identifier of the domain or full hostname

FLAGS
  -a, --app=<value>     (required) app to run command against
  -h, --help            Show CLI help.
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  remove a domain from an app

EXAMPLES
  $ heroku domains:remove www.example.com

コードを参照: ​src/commands/domains/remove.ts

heroku domains:update HOSTNAME

異なる SSL 証明書をアプリで使用するようにドメインを更新します。

USAGE
  $ heroku domains:update HOSTNAME -a <value> --cert <value> [-h] [-r
    <value>]

ARGUMENTS
  HOSTNAME  unique identifier of the domain or full hostname

FLAGS
  -a, --app=<value>     (required) app to run command against
  -h, --help            Show CLI help.
  -r, --remote=<value>  git remote of app to use
      --cert=<value>    (required) the name or id of the certificate you want to
                        use for this domain

DESCRIPTION
  update a domain to use a different SSL certificate on an app

EXAMPLES
  $ heroku domains:update www.example.com --cert mycert

コードを参照: ​src/commands/domains/update.ts

heroku domains:wait [HOSTNAME]

アプリのドメインがアクティブになるまで待ちます。

USAGE
  $ heroku domains:wait [HOSTNAME] -a <value> [-h] [-r <value>]

ARGUMENTS
  HOSTNAME  unique identifier of the domain or full hostname

FLAGS
  -a, --app=<value>     (required) app to run command against
  -h, --help            Show CLI help.
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  wait for domain to be active for an app

コードを参照: ​src/commands/domains/wait.ts

heroku drains

アプリのログドレインを表示します。

USAGE
  $ heroku drains -a <value> [-r <value>] [--json]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use
      --json            output in json format

DESCRIPTION
  display the log drains of an app

コードを参照: ​src/commands/drains/index.ts

heroku drains:add URL

アプリにログドレインを追加します。

USAGE
  $ heroku drains:add URL -a <value> [-r <value>]

ARGUMENTS
  URL  URL of the log drain

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  adds a log drain to an app

コードを参照: ​src/commands/drains/add.ts

heroku drains:remove URL

アプリからログドレインを削除します。

USAGE
  $ heroku drains:remove URL -a <value> [-r <value>]

ARGUMENTS
  URL  URL of the log drain

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  removes a log drain from an app

EXAMPLES
  drains:remove [URL|TOKEN]

コードを参照: ​src/commands/drains/remove.ts

heroku features

使用可能なアプリ機能を一覧表示します。

USAGE
  $ heroku features -a <value> [-r <value>] [--json]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use
      --json            output in json format

DESCRIPTION
  list available app features

コードを参照: ​src/commands/features/index.ts

heroku features:disable FEATURE

アプリ機能を無効にします。

USAGE
  $ heroku features:disable FEATURE -a <value> [-r <value>]

ARGUMENTS
  FEATURE  unique identifier or name of the app feature

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  disables an app feature

コードを参照: ​src/commands/features/disable.ts

heroku features:enable FEATURE

アプリ機能を有効にします。

USAGE
  $ heroku features:enable FEATURE -a <value> [-r <value>]

ARGUMENTS
  FEATURE  unique identifier or name of the app feature

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  enables an app feature

コードを参照: ​src/commands/features/enable.ts

heroku features:info FEATURE

機能に関する情報を表示します。

USAGE
  $ heroku features:info FEATURE -a <value> [-r <value>] [--json]

ARGUMENTS
  FEATURE  unique identifier or name of the app feature

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use
      --json            output in json format

DESCRIPTION
  display information about a feature

コードを参照: ​src/commands/features/info.ts

heroku git:clone [DIRECTORY]

Heroku アプリをローカルマシンの DIRECTORY (デフォルトではアプリ名) に複製します。

USAGE
  $ heroku git:clone [DIRECTORY] -a <value> [-r <value>]

ARGUMENTS
  DIRECTORY  where to clone the app

FLAGS
  -a, --app=<value>     (required) the Heroku app to use
  -r, --remote=<value>  the git remote to create, default "heroku"

DESCRIPTION
  clones a heroku app to your local machine at DIRECTORY (defaults to app name)

EXAMPLES
  $ heroku git:clone -a example
  Cloning into 'example'...
  remote: Counting objects: 42, done.
  ...

コードを参照: ​src/commands/git/clone.ts

heroku git:remote

アプリリポジトリに Git リモートを追加します。

USAGE
  $ heroku git:remote [-a <value>] [-r <value>]

FLAGS
  -a, --app=<value>     the Heroku app to use
  -r, --remote=<value>  the git remote to create

DESCRIPTION
  adds a git remote to an app repo
  extra arguments will be passed to git remote add


EXAMPLES
  # set git remote heroku to https://git.heroku.com/example.git
      $ heroku git:remote -a example
      # set git remote heroku-staging to https://git.heroku.com/example.git
      $ heroku git:remote --remote heroku-staging -a example-staging

コードを参照: ​src/commands/git/remote.ts

heroku help [COMMANDS]

Heroku のヘルプを表示します。

USAGE
  $ heroku help [COMMANDS...] [-n]

ARGUMENTS
  COMMANDS...  Command to show help for.

FLAGS
  -n, --nested-commands  Include all nested commands in the output.

DESCRIPTION
  Display help for heroku.

コードを参照: ​@oclif/plugin-help

heroku keys

SSH キーを表示します。

USAGE
  $ heroku keys [--json] [-l]

FLAGS
  -l, --long  display full SSH keys
      --json  output in json format

DESCRIPTION
  display your SSH keys

コードを参照: ​src/commands/keys/index.ts

heroku keys:add [KEY]

ユーザーの SSH キーを追加します。

USAGE
  $ heroku keys:add [KEY] [-y]

ARGUMENTS
  KEY  absolute path to the key located on disk. If omitted, we use the default
       rsa key.

FLAGS
  -y, --yes  automatically answer yes for all prompts

DESCRIPTION
  add an SSH key for a user

EXAMPLES
  $ heroku keys:add
  Could not find an existing public key.
  Would you like to generate one? [Yn] y
  Generating new SSH public key.
  Uploading SSH public key /.ssh/id_rsa.pub... done
  $ heroku keys:add /my/key.pub
  Uploading SSH public key /my/key.pub... done

コードを参照: ​src/commands/keys/add.ts

heroku keys:clear

現在のユーザーのすべての SSH キーを削除します。

USAGE
  $ heroku keys:clear

DESCRIPTION
  remove all SSH keys for current user

コードを参照: ​src/commands/keys/clear.ts

heroku keys:remove KEY

ユーザーの SSH キーを削除します。

USAGE
  $ heroku keys:remove KEY

ARGUMENTS
  KEY  email address of the user

DESCRIPTION
  remove an SSH key from the user

EXAMPLES
  $ heroku keys:remove email@example.com
  Removing email@example.com SSH key... done

コードを参照: ​src/commands/keys/remove.ts

heroku labs

試験的な機能を一覧表示します。

USAGE
  $ heroku labs [-a <value>] [-r <value>] [--json]

FLAGS
  -a, --app=<value>     app to run command against
  -r, --remote=<value>  git remote of app to use
      --json            display as json

DESCRIPTION
  list experimental features

コードを参照: ​src/commands/labs/index.ts

heroku labs:disable FEATURE

試験的な機能を無効にします。

USAGE
  $ heroku labs:disable FEATURE [-a <value>] [-r <value>] [--confirm
    <value>]

ARGUMENTS
  FEATURE  unique identifier or name of the account feature

FLAGS
  -a, --app=<value>      app to run command against
  -r, --remote=<value>   git remote of app to use
  --confirm=<value>

DESCRIPTION
  disables an experimental feature

コードを参照: ​src/commands/labs/disable.ts

heroku labs:enable FEATURE

試験的な機能を有効にします。

USAGE
  $ heroku labs:enable FEATURE [-a <value>] [-r <value>]

ARGUMENTS
  FEATURE  unique identifier or name of the account feature

FLAGS
  -a, --app=<value>     app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  enables an experimental feature

コードを参照: ​src/commands/labs/enable.ts

heroku labs:info FEATURE

機能情報を表示します。

USAGE
  $ heroku labs:info FEATURE [-a <value>] [-r <value>] [--json]

ARGUMENTS
  FEATURE  unique identifier or name of the account feature

FLAGS
  -a, --app=<value>     app to run command against
  -r, --remote=<value>  git remote of app to use
      --json            display as json

DESCRIPTION
  show feature info

コードを参照: ​src/commands/labs/info.ts

heroku local [PROCESSNAME]

Heroku アプリをローカルで実行します。

USAGE
  $ heroku local [PROCESSNAME] [-f <value>] [-e <value>] [-p
    <value>]

ARGUMENTS
  PROCESSNAME  name of the process

FLAGS
  -e, --env=<value>       location of env file (defaults to .env)
  -f, --procfile=<value>  use a different Procfile
  -p, --port=<value>      port to listen on

DESCRIPTION
  run heroku app locally
  Start the application specified by a Procfile (defaults to ./Procfile)

ALIASES
  $ heroku local:start

EXAMPLES
  $ heroku local
  $ heroku local web
  $ heroku local web=2
  $ heroku local web=1,worker=2

コードを参照: ​src/commands/local/index.ts

heroku local:run

単発コマンドを実行します。

USAGE
  $ heroku local:run [-e <value>] [-p <value>]

FLAGS
  -e, --env=<value>
  -p, --port=<value>

DESCRIPTION
  run a one-off command

EXAMPLES
  $ heroku local:run bin/migrate

コードを参照: ​src/commands/local/run.ts

heroku local:version

node-foreman バージョンを表示します。

USAGE
  $ heroku local:version

DESCRIPTION
  display node-foreman version

コードを参照: ​src/commands/local/version.ts

heroku logs

最新のログ出力を表示します。

USAGE
  $ heroku logs -a <value> [-d <value>] [--force-colors] [-n
    <value>] [-r <value>] [-s <value>] [-t] [-p <value>]

FLAGS
  -a, --app=<value>           (required) app to run command against
  -d, --dyno-name=<value>     only show output from this dyno (such as
                              "web-123-456" or "worker.2")
  -n, --num=<value>           number of lines to display (ignored for Fir
                              generation apps)
  -p, --process-type=<value>  only show output from this process type (such as
                              "web" or "worker")
  -r, --remote=<value>        git remote of app to use
  -s, --source=<value>        only show output from this source (such as "app"
                              or "heroku")
  -t, --tail                  continually stream logs (defaults to true for Fir
                              generation apps)
      --force-colors          force use of colors (even on non-tty output)

DESCRIPTION
  display recent log output
  disable colors with --no-color, HEROKU_LOGS_COLOR=0, or HEROKU_COLOR=0


EXAMPLES
  $ heroku logs --app=my-app

  $ heroku logs --num=50 --app=my-app

  $ heroku logs --dyno-name=web-123-456 --app=my-app

  $ heroku logs --process-type=web --app=my-app

  $ heroku logs --app=my-app --tail

コードを参照: ​src/commands/logs.ts

heroku maintenance

アプリの現在のメンテナンスステータスを表示します。

USAGE
  $ heroku maintenance -a <value> [-r <value>]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  display the current maintenance status of app

コードを参照: ​src/commands/maintenance/index.ts

heroku maintenance:off

アプリをメンテナンスモードから移行します。

USAGE
  $ heroku maintenance:off -a <value> [-r <value>]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  take the app out of maintenance mode

コードを参照: ​src/commands/maintenance/off.ts

heroku maintenance:on

アプリをメンテナンスモードにします。

USAGE
  $ heroku maintenance:on -a <value> [-r <value>]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  put the app into maintenance mode

コードを参照: ​src/commands/maintenance/on.ts

heroku members

チームのメンバーを一覧表示します。

USAGE
  $ heroku members -t <value> [-r <value>] [--pending] [--json]

FLAGS
  -r, --role=<value>  filter by role
  -t, --team=<value>  (required) team to use
      --json          output in json format
      --pending       filter by pending team invitations

DESCRIPTION
  list members of a team

コードを参照: ​src/commands/members/index.ts

heroku members:add EMAIL

チームにユーザーを追加します。

USAGE
  $ heroku members:add EMAIL -r <value> -t <value>

ARGUMENTS
  EMAIL  email address of the team member

FLAGS
  -r, --role=<value>  (required) member role (admin, collaborator, member,
                      owner)
  -t, --team=<value>  (required) team to use

DESCRIPTION
  adds a user to a team

コードを参照: ​src/commands/members/add.ts

heroku members:remove

チームからユーザーを削除します。

USAGE
  $ heroku members:remove -t <value>

FLAGS
  -t, --team=<value>  (required) team to use

DESCRIPTION
  removes a user from a team

コードを参照: ​src/commands/members/remove.ts

heroku members:set

チーム内のメンバーロールを設定します。

USAGE
  $ heroku members:set -r <value> -t <value>

FLAGS
  -r, --role=<value>  (required) member role (admin, collaborator, member,
                      owner)
  -t, --team=<value>  (required) team to use

DESCRIPTION
  sets a members role in a team

コードを参照: ​src/commands/members/set.ts

heroku notifications

通知を表示します。

USAGE
  $ heroku notifications [-a <value>] [-r <value>] [--all] [--json] [--read]

FLAGS
  -a, --app=<value>     app to run command against
  -r, --remote=<value>  git remote of app to use
      --all             view all notifications (not just the ones for the
                        current app)
      --json            output in json format
      --read            show notifications already read

DESCRIPTION
  display notifications

コードを参照: ​src/commands/notifications/index.ts

heroku orgs

自分がメンバーになっているチームを一覧表示します。

USAGE
  $ heroku orgs [--json] [--enterprise]

FLAGS
  --enterprise  filter by enterprise teams
  --json        output in json format

DESCRIPTION
  list the teams that you are a member of

コードを参照: ​src/commands/orgs/index.ts

heroku orgs:open

ブラウザウィンドウでチームインターフェースを開きます。

USAGE
  $ heroku orgs:open -t <value>

FLAGS
  -t, --team=<value>  (required) team to use

DESCRIPTION
  open the team interface in a browser window

コードを参照: ​src/commands/orgs/open.ts

heroku pg:backups

データベースバックアップを一覧表示します。

USAGE
  $ heroku pg:backups -a <value> [-r <value>]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  list database backups

コードを参照: ​src/commands/pg/backups/index.ts

heroku pg:backups:cancel [BACKUP_ID]

進行中のバックアップまたは復元 (デフォルトでは最新) をキャンセルします。

USAGE
  $ heroku pg:backups:cancel [BACKUP_ID] -a <value> [-r <value>]

ARGUMENTS
  BACKUP_ID  ID of the backup. If omitted, we use the last unfinished backup ID.

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  cancel an in-progress backup or restore (default newest)

コードを参照: ​src/commands/pg/backups/cancel.ts

heroku pg:backups:capture [DATABASE]

新しいバックアップを取得します。

USAGE
  $ heroku pg:backups:capture [DATABASE] -a <value> [--wait-interval <value>]
    [-v] [-r <value>]

ARGUMENTS
  DATABASE  config var containing the connection string, unique name, ID, or
            alias of the database. To access another app's database, prepend the
            app name to the config var or alias with `APP_NAME::` . If omitted,
            we use DATABASE_URL.

FLAGS
  -a, --app=<value>            (required) app to run command against
  -r, --remote=<value>         git remote of app to use
  -v, --verbose
  --wait-interval=<value>

DESCRIPTION
  capture a new backup

コードを参照: ​src/commands/pg/backups/capture.ts

heroku pg:backups:delete BACKUP_ID

バックアップを削除します。

USAGE
  $ heroku pg:backups:delete BACKUP_ID -a <value> [-c <value>] [-r <value>]

ARGUMENTS
  BACKUP_ID  ID of the backup

FLAGS
  -a, --app=<value>      (required) app to run command against
  -c, --confirm=<value>
  -r, --remote=<value>   git remote of app to use

DESCRIPTION
  delete a backup

EXAMPLES
  $ heroku pg:backup:delete --app APP_ID BACKUP_ID

コードを参照: ​src/commands/pg/backups/delete.ts

heroku pg:backups:download [BACKUP_ID]

データベースバックアップをダウンロードします。

USAGE
  $ heroku pg:backups:download [BACKUP_ID] -a <value> [-o <value>] [-r <value>]

ARGUMENTS
  BACKUP_ID  ID of the backup. If omitted, we use the last backup ID.

FLAGS
  -a, --app=<value>     (required) app to run command against
  -o, --output=<value>  location to download to. Defaults to latest.dump
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  downloads database backup

コードを参照: ​src/commands/pg/backups/download.ts

heroku pg:backups:info [BACKUP_ID]

特定のバックアップに関する情報を取得します。

USAGE
  $ heroku pg:backups:info [BACKUP_ID] -a <value> [-r <value>]

ARGUMENTS
  BACKUP_ID  ID of the backup. If omitted, we use the last backup ID.

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  get information about a specific backup

コードを参照: ​src/commands/pg/backups/info.ts

heroku pg:backups:restore [BACKUP] [DATABASE]

バックアップ (デフォルトでは最新) をデータベースに復元します。

USAGE
  $ heroku pg:backups:restore [BACKUP] [DATABASE] -a <value> [--wait-interval
    <value>] [-e <value>] [-v] [-c <value>] [-r <value>]

ARGUMENTS
  BACKUP    URL or backup ID from another app
  DATABASE  config var containing the connection string, unique name, ID, or
            alias of the database. To access another app's database, prepend the
            app name to the config var or alias with `APP_NAME::` . If omitted,
            we use DATABASE_URL.

FLAGS
  -a, --app=<value>            (required) app to run command against
  -c, --confirm=<value>
  -e, --extensions=<value>     comma-separated list of extensions to pre-install
                               in the public schema
                               defaults to saving the latest database to
                               DATABASE_URL
  -r, --remote=<value>         git remote of app to use
  -v, --verbose
      --wait-interval=<value>  [default: 3]

DESCRIPTION
  restore a backup (default latest) to a database

EXAMPLES
  # Basic Restore from Backup ID

    $ heroku pg:backups:restore b101 DATABASE_URL --app my-heroku-app

  # Restore from Another App

    $ heroku pg:backups:restore example-app::b101 DATABASE_URL --app \
      my-heroku-app

  # Restore from a Public URL

    $ heroku pg:backups:restore \
      'https://s3.amazonaws.com/my-bucket/mydb.dump' DATABASE_URL --app \
      my-heroku-app

  # Verbose Output

    $ heroku pg:backups:restore b101 DATABASE_URL --app my-heroku-app \
      --verbose

  # Restore with Confirmation Prompt

    $ heroku pg:backups:restore b101 DATABASE_URL --app my-heroku-app \
      --confirm my-heroku-app

  # Restore with a Specific Database Name

    $ heroku pg:backups:restore b101 HEROKU_POSTGRESQL_PINK --app \
      my-heroku-app

コードを参照: ​src/commands/pg/backups/restore.ts

heroku pg:backups:schedule [DATABASE]

指定されたデータベースの日次バックアップをスケジュールします。

USAGE
  $ heroku pg:backups:schedule [DATABASE] --at <value> -a <value> [-r <value>]

ARGUMENTS
  DATABASE  config var containing the connection string, unique name, ID, or
            alias of the database. To access another app's database, prepend the
            app name to the config var or alias with `APP_NAME::` . If omitted,
            we use DATABASE_URL.

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use
      --at=<value>      (required) at a specific (24h) hour in the given
                        timezone. Defaults to UTC. --at '[HOUR]:00 [TIMEZONE]'

DESCRIPTION
  schedule daily backups for given database

コードを参照: ​src/commands/pg/backups/schedule.ts

heroku pg:backups:schedules

バックアップスケジュールを一覧表示します。

USAGE
  $ heroku pg:backups:schedules -a <value> [-r <value>]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  list backup schedule

コードを参照: ​src/commands/pg/backups/schedules.ts

heroku pg:backups:unschedule [DATABASE]

日次バックアップを停止します。

USAGE
  $ heroku pg:backups:unschedule [DATABASE] -a <value> [-r <value>]

ARGUMENTS
  DATABASE  config var containing the connection string, unique name, ID, or
            alias of the database. To access another app's database, prepend the
            app name to the config var or alias with `APP_NAME::` . If omitted,
            we use a random database attached to the app.

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  stop daily backups

コードを参照: ​src/commands/pg/backups/unschedule.ts

heroku pg:backups:url [BACKUP_ID]

秘密のバックアップ URL (ただしインターネットからアクセス可能) を取得します。

USAGE
  $ heroku pg:backups:url [BACKUP_ID] -a <value> [-r <value>]

ARGUMENTS
  BACKUP_ID  ID of the backup. If omitted, we use the last backup ID.

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  get secret but publicly accessible URL of a backup

コードを参照: ​src/commands/pg/backups/url.ts

heroku pg:bloat [DATABASE]

無駄の多さで順序付けられたデータベース内のテーブルとインデックスの肥大化を表示します。

USAGE
  $ heroku pg:bloat [DATABASE] -a <value> [-r <value>]

ARGUMENTS
  DATABASE  config var containing the connection string, unique name, ID, or
            alias of the database. To access another app's database, prepend the
            app name to the config var or alias with `APP_NAME::` . If omitted,
            we use DATABASE_URL.

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  show table and index bloat in your database ordered by most wasteful

コードを参照: ​src/commands/pg/bloat.ts

heroku pg:blocking [DATABASE]

他のクエリが解放されるのを待っているロックを保持しているクエリを表示します。

USAGE
  $ heroku pg:blocking [DATABASE] -a <value> [-r <value>]

ARGUMENTS
  DATABASE  config var containing the connection string, unique name, ID, or
            alias of the database. To access another app's database, prepend the
            app name to the config var or alias with `APP_NAME::` . If omitted,
            we use DATABASE_URL.

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  display queries holding locks other queries are waiting to be released

コードを参照: ​src/commands/pg/blocking.ts

heroku pg:connection-pooling:attach [DATABASE]

接続プールを使用してデータベースにアタッチメントを追加します。

USAGE
  $ heroku pg:connection-pooling:attach [DATABASE] -a <value> [--as <value>] [-r
  <value>]

ARGUMENTS
  DATABASE  config var containing the connection string, unique name, ID, or
            alias of the database. To access another app's database, prepend the
            app name to the config var or alias with `APP_NAME::` . If omitted,
            we use DATABASE_URL.

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use
      --as=<value>      name for add-on attachment

DESCRIPTION
  add an attachment to a database using connection pooling

EXAMPLES
  $ heroku pg:connection-pooling:attach postgresql-something-12345

コードを参照: ​src/commands/pg/connection-pooling/attach.ts

heroku pg:copy SOURCE TARGET

ソース DB からターゲットにすべてのデータをコピーします。

USAGE
  $ heroku pg:copy SOURCE TARGET -a <value> [--wait-interval <value>]
    [--verbose] [--confirm <value>] [-r <value>]

ARGUMENTS
  SOURCE  config var exposed to the owning app containing the source database
          URL
  TARGET  config var exposed to the owning app containing the target database
          URL

FLAGS
  -a, --app=<value>            (required) app to run command against
  -r, --remote=<value>         git remote of app to use
  --confirm=<value>
  --verbose
  --wait-interval=<value>

DESCRIPTION
  copy all data from source db to target

コードを参照: ​src/commands/pg/copy.ts

heroku pg:credentials [DATABASE]

データベース内の資格情報に関する情報を表示します。

USAGE
  $ heroku pg:credentials [DATABASE] -a <value> [-r <value>]

ARGUMENTS
  DATABASE  config var containing the connection string, unique name, ID, or
            alias of the database. To access another app's database, prepend the
            app name to the config var or alias with `APP_NAME::` . If omitted,
            we use DATABASE_URL.

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  show information on credentials in the database

コードを参照: ​src/commands/pg/credentials.ts

heroku pg:credentials:create [DATABASE]

データベース内に資格情報を作成します。

USAGE
  $ heroku pg:credentials:create [DATABASE] -n <value> -a <value> [-r <value>]

ARGUMENTS
  DATABASE  config var containing the connection string, unique name, ID, or
            alias of the database. To access another app's database, prepend the
            app name to the config var or alias with `APP_NAME::` . If omitted,
            we use DATABASE_URL.

FLAGS
  -a, --app=<value>     (required) app to run command against
  -n, --name=<value>    (required) name of the new credential within the
                        database
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  create credential within database
  Example:

  heroku pg:credentials:create postgresql-something-12345 --name new-cred-name

コードを参照: ​src/commands/pg/credentials/create.ts

heroku pg:credentials:destroy [DATABASE]

データベース内の資格情報を破棄します。

USAGE
  $ heroku pg:credentials:destroy [DATABASE] -n <value> -a <value> [-c <value>] [-r
    <value>]

ARGUMENTS
  DATABASE  config var containing the connection string, unique name, ID, or
            alias of the database. To access another app's database, prepend the
            app name to the config var or alias with `APP_NAME::` . If omitted,
            we use DATABASE_URL.

FLAGS
  -a, --app=<value>      (required) app to run command against
  -c, --confirm=<value>
  -n, --name=<value>     (required) unique identifier for the credential
  -r, --remote=<value>   git remote of app to use

DESCRIPTION
  destroy credential within database

EXAMPLES
  $ heroku pg:credentials:destroy postgresql-transparent-56874 --name cred-name -a woodstock-production

コードを参照: ​src/commands/pg/credentials/destroy.ts

heroku pg:credentials:repair-default [DATABASE]

データベース内のデフォルトの資格情報のアクセス許可を修復します。

USAGE
  $ heroku pg:credentials:repair-default [DATABASE] -a <value> [-c <value>] [-r
  <value>]

ARGUMENTS
  DATABASE  config var containing the connection string, unique name, ID, or
            alias of the database. To access another app's database, prepend the
            app name to the config var or alias with `APP_NAME::` . If omitted,
            we use DATABASE_URL.

FLAGS
  -a, --app=<value>      (required) app to run command against
  -c, --confirm=<value>
  -r, --remote=<value>   git remote of app to use

DESCRIPTION
  repair the permissions of the default credential within database

EXAMPLES
  $ heroku pg:credentials:repair-default postgresql-something-12345

コードを参照: ​src/commands/pg/credentials/repair-default.ts

heroku pg:credentials:rotate [DATABASE]

データベースの資格情報を定期的に変更します。

USAGE
  $ heroku pg:credentials:rotate [DATABASE] -a <value> [--all | -n <value>] [-c
    <value>] [--force] [-r <value>]

ARGUMENTS
  DATABASE  config var containing the connection string, unique name, ID, or
            alias of the database. To access another app's database, prepend the
            app name to the config var or alias with `APP_NAME::` . If omitted,
            we use DATABASE_URL.

FLAGS
  -a, --app=<value>      (required) app to run command against
  -c, --confirm=<value>
  -n, --name=<value>     which credential to rotate (default credentials if not
                         specified and --all is not used)
  -r, --remote=<value>   git remote of app to use
      --all              rotate all credentials
      --force            forces rotating the targeted credentials

DESCRIPTION
  rotate the database credentials

コードを参照: ​src/commands/pg/credentials/rotate.ts

heroku pg:credentials:url [DATABASE]

データベースの資格情報に関する情報を表示します。

USAGE
  $ heroku pg:credentials:url [DATABASE] -a <value> [-n <value>] [-r <value>]

ARGUMENTS
  DATABASE  config var containing the connection string, unique name, ID, or
            alias of the database. To access another app's database, prepend the
            app name to the config var or alias with `APP_NAME::` . If omitted,
            we use DATABASE_URL.

FLAGS
  -a, --app=<value>     (required) app to run command against
  -n, --name=<value>    [default: default] which credential to show (default
                        credentials if not specified)
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  show information on a database credential

コードを参照: ​src/commands/pg/credentials/url.ts

​heroku pg:diagnose [DATABASE|REPORT_ID]

診断レポートを実行または表示します。

USAGE
  $ heroku pg:diagnose [DATABASE|REPORT_ID] -a <value> [--json] [-r
    <value>]

ARGUMENTS
  DATABASE|REPORT_ID  config var exposed to the owning app containing the
                      database URL or the report ID

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use
      --json            format output as JSON

DESCRIPTION
  run or view diagnostics report
  defaults to DATABASE_URL database if no DATABASE is specified
  if REPORT_ID is specified instead, a previous report is displayed

コードを参照: ​src/commands/pg/diagnose.ts

heroku pg:info [DATABASE]

データベース情報を表示します。

USAGE
  $ heroku pg:info [DATABASE] -a <value> [-r <value>]

ARGUMENTS
  DATABASE  config var containing the connection string, unique name, ID, or
            alias of the database. To access another app's database, prepend the
            app name to the config var or alias with `APP_NAME::` . If omitted,
            we use all databases.

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  show database information

ALIASES
  $ heroku pg

コードを参照: ​src/commands/pg/info.ts

heroku pg:kill PID [DATABASE]

クエリを強制終了します。

USAGE
  $ heroku pg:kill PID [DATABASE] -a <value> [-f] [-r <value>]

ARGUMENTS
  PID       ID of the process
  DATABASE  config var containing the connection string, unique name, ID, or
            alias of the database. To access another app's database, prepend the
            app name to the config var or alias with `APP_NAME::` . If omitted,
            we use DATABASE_URL.

FLAGS
  -a, --app=<value>     (required) app to run command against
  -f, --force
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  kill a query

コード参照: ​src/commands/pg/kill.ts_

heroku pg:killall [DATABASE]

すべての資格情報のすべての接続を終了します。

USAGE
  $ heroku pg:killall [DATABASE] -a <value> [-r <value>]

ARGUMENTS
  DATABASE  config var containing the connection string, unique name, ID, or
            alias of the database. To access another app's database, prepend the
            app name to the config var or alias with `APP_NAME::` . If omitted,
            we use DATABASE_URL.

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  terminates all connections for all credentials

コード参照: ​src/commands/pg/killall.ts_

heroku pg:links [DATABASE]

すべてのデータベースとリンクに関する情報を一覧表示します。

USAGE
  $ heroku pg:links [DATABASE] -a <value> [-r <value>]

ARGUMENTS
  DATABASE  config var containing the connection string, unique name, ID, or
            alias of the database. To access another app's database, prepend the
            app name to the config var or alias with `APP_NAME::` . If omitted,
            we use DATABASE_URL.

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  lists all databases and information on link

コードを参照: ​src/commands/pg/links/index.ts

heroku pg:links:create REMOTE DATABASE

データストア間のリンクを作成します。

USAGE
  $ heroku pg:links:create REMOTE DATABASE -a <value> [--as <value>] [-r
    <value>]

ARGUMENTS
  REMOTE    config var containing the connection string, unique name, ID, or
            alias of the database. To access another app's database, prepend the
            app name to the config var or alias with `APP_NAME::`
  DATABASE  config var containing the connection string, unique name, ID, or
            alias of the database. To access another app's database, prepend the
            app name to the config var or alias with `APP_NAME::`

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use
      --as=<value>      name of link to create

DESCRIPTION
  create a link between data stores
  Example:
  heroku pg:links:create HEROKU_REDIS_RED HEROKU_POSTGRESQL_CERULEAN

コードを参照: ​src/commands/pg/links/create.ts

heroku pg:links:destroy DATABASE LINK

データストア間のリンクを破棄します。

USAGE
  $ heroku pg:links:destroy DATABASE LINK -a <value> [-c <value>] [-r <value>]

ARGUMENTS
  DATABASE  config var containing the connection string, unique name, ID, or
            alias of the database. To access another app's database, prepend the
            app name to the config var or alias with `APP_NAME::`
  LINK      name of the linked data store

FLAGS
  -a, --app=<value>      (required) app to run command against
  -c, --confirm=<value>
  -r, --remote=<value>   git remote of app to use

DESCRIPTION
  destroys a link between data stores

EXAMPLES
  $ heroku pg:links:destroy HEROKU_POSTGRESQL_CERULEAN redis-symmetrical-100

コードを参照: ​src/commands/pg/links/destroy.ts

heroku pg:locks [DATABASE]

アクティブなロックを持つクエリを表示します。

USAGE
  $ heroku pg:locks [DATABASE] -a <value> [-t] [-r <value>]

ARGUMENTS
  DATABASE  config var containing the connection string, unique name, ID, or
            alias of the database. To access another app's database, prepend the
            app name to the config var or alias with `APP_NAME::` . If omitted,
            we use DATABASE_URL.

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use
  -t, --truncate        truncates queries to 40 characters

DESCRIPTION
  display queries with active locks

コードを参照: ​src/commands/pg/locks.ts

heroku pg:maintenance [DATABASE]

現在のメンテナンス情報を表示します。

USAGE
  $ heroku pg:maintenance [DATABASE] -a <value> [-r <value>]

ARGUMENTS
  DATABASE  config var containing the connection string, unique name, ID, or
            alias of the database. To access another app's database, prepend the
            app name to the config var or alias with `APP_NAME::` . If omitted,
            we use DATABASE_URL.

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  show current maintenance information

コードを参照: ​src/commands/pg/maintenance/index.ts

heroku pg:maintenance:run [DATABASE]

メンテナンスを開始します。

USAGE
  $ heroku pg:maintenance:run [DATABASE] -a <value> [-f] [-r <value>]

ARGUMENTS
  DATABASE  config var containing the connection string, unique name, ID, or
            alias of the database. To access another app's database, prepend the
            app name to the config var or alias with `APP_NAME::` . If omitted,
            we use DATABASE_URL.

FLAGS
  -a, --app=<value>     (required) app to run command against
  -f, --force
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  start maintenance

コードを参照: ​src/commands/pg/maintenance/run.ts

heroku pg:maintenance:window WINDOW [DATABASE]

週次メンテナンスウィンドウを設定します。

USAGE
  $ heroku pg:maintenance:window WINDOW [DATABASE] -a <value> [-r <value>]

ARGUMENTS
  WINDOW    timestamp of the maintenance window
  DATABASE  config var containing the connection string, unique name, ID, or
            alias of the database. To access another app's database, prepend the
            app name to the config var or alias with `APP_NAME::` . If omitted,
            we use DATABASE_URL.

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  Set weekly maintenance window.
  All times are in UTC.


EXAMPLES
  $ heroku pg:maintenance:window "Sunday 06:00" postgres-slippery-100

コードを参照: ​src/commands/pg/maintenance/window.ts

heroku pg:outliers [DATABASE]

全体として最長の実行時間を持つ 10 個のクエリを表示します。

USAGE
  $ heroku pg:outliers [DATABASE] -a <value> [--reset] [-t] [-n <value>]
    [-r <value>]

ARGUMENTS
  DATABASE  config var containing the connection string, unique name, ID, or
            alias of the database. To access another app's database, prepend the
            app name to the config var or alias with `APP_NAME::` . If omitted,
            we use DATABASE_URL.

FLAGS
  -a, --app=<value>     (required) app to run command against
  -n, --num=<value>     the number of queries to display (default: 10)
  -r, --remote=<value>  git remote of app to use
  -t, --truncate        truncate queries to 40 characters
      --reset           resets statistics gathered by pg_stat_statements

DESCRIPTION
  show 10 queries that have longest execution time in aggregate

コードを参照: ​src/commands/pg/outliers.ts

heroku pg:promote DATABASE

sets DATABASE as your DATABASE_URL

USAGE
  $ heroku pg:promote DATABASE -a <value> [-f] [-r <value>]

ARGUMENTS
  DATABASE  config var containing the connection string, unique name, ID, or
            alias of the database. To access another app's database, prepend the
            app name to the config var or alias with `APP_NAME::`

FLAGS
  -a, --app=<value>     (required) app to run command against
  -f, --force
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  sets DATABASE as your DATABASE_URL

コードを参照: ​src/commands/pg/promote.ts

heroku pg:ps [DATABASE]

アクティブなクエリを実行時間と共に表示します。

USAGE
  $ heroku pg:ps [DATABASE] -a <value> [-v] [-r <value>]

ARGUMENTS
  DATABASE  config var containing the connection string, unique name, ID, or
            alias of the database. To access another app's database, prepend the
            app name to the config var or alias with `APP_NAME::` . If omitted,
            we use DATABASE_URL.

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use
  -v, --verbose

DESCRIPTION
  view active queries with execution time

コードを参照: ​src/commands/pg/ps.ts

heroku pg:psql [DATABASE]

データベースへの psql シェルを開きます。

USAGE
  $ heroku pg:psql [DATABASE] -a <value> [-c <value>] [-f <value>]
    [--credential <value>] [-r <value>]

ARGUMENTS
  DATABASE  config var containing the connection string, unique name, ID, or
            alias of the database. To access another app's database, prepend the
            app name to the config var or alias with `APP_NAME::` . If omitted,
            we use DATABASE_URL.

FLAGS
  -a, --app=<value>         (required) app to run command against
  -c, --command=<value>     SQL command to run
  -f, --file=<value>        SQL file to run
  -r, --remote=<value>      git remote of app to use
      --credential=<value>  credential to use

DESCRIPTION
  open a psql shell to the database

ALIASES
  $ heroku psql

コードを参照: ​src/commands/pg/psql.ts

heroku pg:pull SOURCE TARGET

Heroku データベースをローカルまたはリモートデータベースにプルします。

USAGE
  $ heroku pg:pull SOURCE TARGET -a <value> [--exclude-table-data
    <value>] [-r <value>]

ARGUMENTS
  SOURCE  config var containing the connection string, unique name, ID, or alias
          of the database. To access another app's database, prepend the app
          name to the config var or alias with `APP_NAME::` . If omitted, we use
          DATABASE_URL.
  TARGET  PostgreSQL connection string for the target database

FLAGS
  -a, --app=<value>                 (required) app to run command against
  -r, --remote=<value>              git remote of app to use
      --exclude-table-data=<value>  tables for which data should be excluded
                                    (use ';' to split multiple names)

DESCRIPTION
  pull Heroku database into local or remote database
  Pull from SOURCE into TARGET.

  TARGET must be one of:
  * a database name (i.e. on a local PostgreSQL server)  => TARGET must not
  exist and will be created
  * a fully qualified URL to a local PostgreSQL server   => TARGET must not
  exist and will be created
  * a fully qualified URL to a remote PostgreSQL server  => TARGET must exist
  and be empty

  To delete a local database run dropdb TARGET.
  To create an empty remote database, run createdb with connection command-line
  options (run createdb --help for details).


EXAMPLES
  # pull Heroku DB named postgresql-swimmingly-100 into local DB mylocaldb
  that must not exist

    $ heroku pg:pull postgresql-swimmingly-100 mylocaldb --app sushi

  # pull Heroku DB named postgresql-swimmingly-100 into empty remote DB at
  postgres://myhost/mydb

    $ heroku pg:pull postgresql-swimmingly-100 postgres://myhost/mydb --app \
      sushi

コードを参照: ​src/commands/pg/pull.ts

heroku pg:push SOURCE TARGET

ローカルまたはリモートを Heroku データベースにプッシュします。

USAGE
  $ heroku pg:push SOURCE TARGET -a <value> [--exclude-table-data
    <value>] [-r <value>]

ARGUMENTS
  SOURCE  PostgreSQL connection string for the source database
  TARGET  config var containing the connection string, unique name, ID, or alias
          of the database. To access another app's database, prepend the app
          name to the config var or alias with `APP_NAME::` . If omitted, we use
          DATABASE_URL.

FLAGS
  -a, --app=<value>                 (required) app to run command against
  -r, --remote=<value>              git remote of app to use
      --exclude-table-data=<value>  tables for which data should be excluded
                                    (use ';' to split multiple names)

DESCRIPTION
  push local or remote into Heroku database
  Push from SOURCE into TARGET. TARGET must be empty.

  To empty a Heroku database for push run heroku pg:reset

  SOURCE must be either the name of a database existing on your localhost or the
  fully qualified URL of a remote database.


EXAMPLES
  # push mylocaldb into a Heroku DB named postgresql-swimmingly-100

    $ heroku pg:push mylocaldb postgresql-swimmingly-100 --app sushi

  # push remote DB at postgres://myhost/mydb into a Heroku DB named
  postgresql-swimmingly-100

    $ heroku pg:push postgres://myhost/mydb postgresql-swimmingly-100 --app \
      sushi

コードを参照: ​src/commands/pg/push.ts

heroku pg:reset [DATABASE]

データベース内のすべてのデータを削除します。

USAGE
  $ heroku pg:reset [DATABASE] -a <value> [-e <value>] [-c <value>]
    [-r <value>]

ARGUMENTS
  DATABASE  config var containing the connection string, unique name, ID, or
            alias of the database. To access another app's database, prepend the
            app name to the config var or alias with `APP_NAME::` . If omitted,
            we use DATABASE_URL.

FLAGS
  -a, --app=<value>         (required) app to run command against
  -c, --confirm=<value>
  -e, --extensions=<value>  comma-separated list of extensions to pre-install in
                            the public schema
  -r, --remote=<value>      git remote of app to use

DESCRIPTION
  delete all data in DATABASE

コードを参照: ​src/commands/pg/reset.ts

heroku pg:settings [DATABASE]

現在のデータベース設定を表示します。

USAGE
  $ heroku pg:settings [DATABASE] -a <value> [-r <value>]

ARGUMENTS
  DATABASE  config var containing the connection string, unique name, ID, or
            alias of the database. To access another app's database, prepend the
            app name to the config var or alias with `APP_NAME::` . If omitted,
            we use DATABASE_URL.

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  show your current database settings

コードを参照: ​src/commands/pg/settings/index.ts

heroku pg:settings:auto-explain [DATABASE] [VALUE]

EXPLAIN を手動で実行せずに、クエリの実行プランを自動的にログに記録します。

USAGE
  $ heroku pg:settings:auto-explain [DATABASE...] [VALUE...] -a <value> [-r
  <value>]

ARGUMENTS
  DATABASE...  config var containing the connection string, unique name, ID, or
               alias of the database. To access another app's database, prepend
               the app name to the config var or alias with `APP_NAME::` . If
               omitted, we use DATABASE_URL.
  VALUE...     boolean indicating if execution plans of queries will be logged
               for future connections

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  Automatically log execution plans of queries without running EXPLAIN by hand.
  The auto_explain module is loaded at session-time so existing connections will
  not be logged.
  Restart your Heroku app and/or restart existing connections for logging to
  start taking place.

コードを参照: ​src/commands/pg/settings/auto-explain.ts

heroku pg:settings:auto-explain:log-analyze [DATABASE] [VALUE]

実行プランの実際の実行時間を表示します。

USAGE
  $ heroku pg:settings:auto-explain:log-analyze [DATABASE] [VALUE] -a <value>
  [-r <value>]

ARGUMENTS
  DATABASE  config var containing the connection string, unique name, ID, or
            alias of the database. To access another app's database, prepend the
            app name to the config var or alias with `APP_NAME::` . If omitted,
            we use DATABASE_URL.
  VALUE     boolean indicating if execution plans get logged

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  Shows actual run times on the execution plan.
  This is equivalent to calling EXPLAIN ANALYZE.

  WARNING: EXPLAIN ANALYZE will be run on ALL queries, not just logged queries.
  This can cause significant performance impacts to your database and should be
  used with caution.

コードを参照: ​src/commands/pg/settings/auto-explain/log-analyze.ts

heroku pg:settings:auto-explain:log-buffers [DATABASE] [VALUE]

実行プランがログに記録されるときに、バッファ使用状況の統計を含めます。

USAGE
  $ heroku pg:settings:auto-explain:log-buffers [DATABASE] [VALUE] -a <value>
  [-r <value>]

ARGUMENTS
  DATABASE  config var containing the connection string, unique name, ID, or
            alias of the database. To access another app's database, prepend the
            app name to the config var or alias with `APP_NAME::` . If omitted,
            we use DATABASE_URL.
  VALUE     boolean indicating if the database has buffer statistics enabled

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  Includes buffer usage statistics when execution plans are logged.
  This is equivalent to calling EXPLAIN BUFFERS and can only be used in
  conjunction with pg:settings:auto-explain:log-analyze turned on.

コードを参照: ​src/commands/pg/settings/auto-explain/log-buffers.ts

heroku pg:settings:auto-explain:log-format [DATABASE] [VALUE]

使用する EXPLAIN 出力形式を選択します

USAGE
  $ heroku pg:settings:auto-explain:log-format [DATABASE] [VALUE] -a <value> [-r
  <value>]

ARGUMENTS
  DATABASE  config var containing the connection string, unique name, ID, or
            alias of the database. To access another app's database, prepend the
            app name to the config var or alias with `APP_NAME::` . If omitted,
            we use DATABASE_URL.
  VALUE     (text|json|yaml|xml) format of the log output
            <options: text|json|yaml|xml>

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  selects the EXPLAIN output format to be used
  The allowed values are text, xml, json, and yaml. The default is text.

コードを参照: ​src/commands/pg/settings/auto-explain/log-format.ts

heroku pg:settings:auto-explain:log-min-duration [DATABASE] [VALUE]

ステートメントのプランをログに記録するための最小実行時間をミリ秒単位で設定します。

USAGE
  $ heroku pg:settings:auto-explain:log-min-duration [DATABASE] [VALUE] -a
  <value> [-r <value>]

ARGUMENTS
  DATABASE  config var containing the connection string, unique name, ID, or
            alias of the database. To access another app's database, prepend the
            app name to the config var or alias with `APP_NAME::` . If omitted,
            we use DATABASE_URL.
  VALUE     minimum duration in milliseconds for queries before logging
            execution plans. A value of -1 disables it. A value of 0 logs all
            query execution plans.

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  Sets the minimum execution time in milliseconds for a statement's plan to be
  logged.
  Setting this value to 0 will log all queries. Setting this value to -1 will
  disable logging entirely.

コードを参照: ​src/commands/pg/settings/auto-explain/log-min-duration.ts

heroku pg:settings:auto-explain:log-nested-statements [DATABASE] [VALUE]

ネストされたステートメントは実行プランのログに含まれます。

USAGE
  $ heroku pg:settings:auto-explain:log-nested-statements [DATABASE] [VALUE] -a
  <value> [-r <value>]

ARGUMENTS
  DATABASE  config var containing the connection string, unique name, ID, or
            alias of the database. To access another app's database, prepend the
            app name to the config var or alias with `APP_NAME::` . If omitted,
            we use DATABASE_URL.
  VALUE     boolean indicating if execution plan logs include nested statements

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  Nested statements are included in the execution plan's log.

コードを参照: ​src/commands/pg/settings/auto-explain/log-nested-statements.ts

heroku pg:settings:auto-explain:log-triggers [DATABASE] [VALUE]

実行プランのログにトリガー実行の統計を含めます。

USAGE
  $ heroku pg:settings:auto-explain:log-triggers [DATABASE] [VALUE] -a <value>
  [-r <value>]

ARGUMENTS
  DATABASE  config var containing the connection string, unique name, ID, or
            alias of the database. To access another app's database, prepend the
            app name to the config var or alias with `APP_NAME::` . If omitted,
            we use DATABASE_URL.
  VALUE     boolean indicating if the database has trigger execution statistics
            enabled

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  Includes trigger execution statistics in execution plan logs.
  This parameter can only be used in conjunction with
  pg:settings:auto-explain:log-analyze turned on.

コードを参照: ​src/commands/pg/settings/auto-explain/log-triggers.ts

heroku pg:settings:auto-explain:log-verbose [DATABASE] [VALUE]

実行プランに細部にわたる詳細を含めます。

USAGE
  $ heroku pg:settings:auto-explain:log-verbose [DATABASE] [VALUE] -a <value>
  [-r <value>]

ARGUMENTS
  DATABASE  config var containing the connection string, unique name, ID, or
            alias of the database. To access another app's database, prepend the
            app name to the config var or alias with `APP_NAME::` . If omitted,
            we use DATABASE_URL.
  VALUE     boolean indicating if the database has verbose execution plan
            logging enabled

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  Include verbose details in execution plans.
  This is equivalent to calling EXPLAIN VERBOSE.

コードを参照: ​src/commands/pg/settings/auto-explain/log-verbose.ts

heroku pg:settings:explain-data-connector-details [DATABASE] [VALUE]

データベースのレプリケーションスロットの統計情報を表示します。デフォルト値は「オフ」です。

USAGE
  $ heroku pg:settings:explain-data-connector-details [DATABASE] [VALUE] -a
  <value> [-r <value>]

ARGUMENTS
  DATABASE  config var containing the connection string, unique name, ID, or
            alias of the database. To access another app's database, prepend the
            app name to the config var or alias with `APP_NAME::` . If omitted,
            we use DATABASE_URL.
  VALUE     boolean indicating if data replication slot details get logged

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  displays stats on replication slots on your database, the default value is
  "off"

コードを参照: ​src/commands/pg/settings/explain-data-connector-details.ts

heroku pg:settings:log-connections [DATABASE] [VALUE]

ログイン試行時にログメッセージを生成するかどうかを制御します。デフォルトは true です。

USAGE
  $ heroku pg:settings:log-connections [DATABASE] [VALUE] -a <value> [-r
  <value>]

ARGUMENTS
  DATABASE  config var containing the connection string, unique name, ID, or
            alias of the database. To access another app's database, prepend the
            app name to the config var or alias with `APP_NAME::` . If omitted,
            we use DATABASE_URL.
  VALUE     boolean indicating if database login attempts get logged

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  Controls whether a log message is produced when a login attempt is made.
  Default is true.
  Setting log_connections to false stops emitting log messages for all attempts
  to login to the database.

コードを参照: ​src/commands/pg/settings/log-connections.ts

heroku pg:settings:log-lock-waits [DATABASE] [VALUE]

セッションがロックを取得するために deadlock_timeout より長い時間待ったときにログメッセージを生成するかどうかを制御します。deadlock_timeout は 1 秒に設定されています。

USAGE
  $ heroku pg:settings:log-lock-waits [DATABASE] [VALUE] -a <value> [-r <value>]

ARGUMENTS
  DATABASE  config var containing the connection string, unique name, ID, or
            alias of the database. To access another app's database, prepend the
            app name to the config var or alias with `APP_NAME::` . If omitted,
            we use DATABASE_URL.
  VALUE     boolean indicating if a message gets logged when a session waits
            longer than the deadlock_timeout to acquire a lock

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  Controls whether a log message is produced when a session waits longer than
  the deadlock_timeout to acquire a lock. deadlock_timeout is set to 1 second
  Delays due to lock contention occur when multiple transactions are trying to
  access the same resource at the same time.
  Applications and their query patterns should try to avoid changes to many
  different tables within the same transaction.

コードを参照: ​src/commands/pg/settings/log-lock-waits.ts

heroku pg:settings:log-min-duration-statement [DATABASE] [VALUE]

ステートメントが VALUE で指定された時間の後に完了した場合は、完了した各ステートメントの期間がログに記録されます。

USAGE
  $ heroku pg:settings:log-min-duration-statement [DATABASE] [VALUE] -a <value>
  [-r <value>]

ARGUMENTS
  DATABASE  config var containing the connection string, unique name, ID, or
            alias of the database. To access another app's database, prepend the
            app name to the config var or alias with `APP_NAME::` . If omitted,
            we use DATABASE_URL.
  VALUE     milliseconds to wait for a statement to complete before logging it

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  The duration of each completed statement will be logged if the statement
  completes after the time specified by VALUE.
  VALUE needs to specified as a whole number, in milliseconds.
  Setting log_min_duration_statement to zero prints all statement durations and
  -1 will disable logging statement durations.

コードを参照: ​src/commands/pg/settings/log-min-duration-statement.ts

heroku pg:settings:log-min-error-statement [DATABASE] [VALUE]

log-min-error-statement は、指定された重大度レベルでエラーを引き起こす SQL ステートメントのログ記録を制御します。

USAGE
  $ heroku pg:settings:log-min-error-statement [DATABASE] [VALUE] -a <value> [-r
  <value>]

ARGUMENTS
  DATABASE  config var containing the connection string, unique name, ID, or
            alias of the database. To access another app's database, prepend the
            app name to the config var or alias with `APP_NAME::` . If omitted,
            we use DATABASE_URL.
  VALUE     (error|log|fatal|panic)

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  log-min-error-statement controls the logging of SQL statements that cause an
  error at a specified severity level.
  This setting is useful to prevent logging SQL queries that might contain
  sensitive information.
  Use this setting to prevent logging SQL queries that contain sensitive
  information. Default is "error".

コードを参照: ​src/commands/pg/settings/log-min-error-statement.ts

heroku pg:settings:log-statement [DATABASE] [VALUE]

log_statement は、どの SQL ステートメントをログに記録するかを制御します。

USAGE
  $ heroku pg:settings:log-statement [DATABASE] [VALUE] -a <value> [-r <value>]

ARGUMENTS
  DATABASE  config var containing the connection string, unique name, ID, or
            alias of the database. To access another app's database, prepend the
            app name to the config var or alias with `APP_NAME::` . If omitted,
            we use DATABASE_URL.
  VALUE     (none|ddl|mod|all) type of SQL statements to log
            <options: none|ddl|mod|all>

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  log_statement controls which SQL statements are logged.
  Valid values for VALUE:
  none - No statements are logged
  ddl  - All data definition statements, such as CREATE, ALTER and DROP will be
  logged
  mod  - Includes all statements from ddl as well as data-modifying statements
  such as INSERT, UPDATE, DELETE, TRUNCATE, COPY
  all  - All statements are logged

コードを参照: ​src/commands/pg/settings/log-statement.ts

heroku pg:settings:track-functions [DATABASE] [VALUE]

track_functions は、関数呼び出しカウントと使用された時間の追跡を制御します。デフォルトは none (なし) です。

USAGE
  $ heroku pg:settings:track-functions [DATABASE] [VALUE] -a <value> [-r
  <value>]

ARGUMENTS
  DATABASE  config var containing the connection string, unique name, ID, or
            alias of the database. To access another app's database, prepend the
            app name to the config var or alias with `APP_NAME::` . If omitted,
            we use DATABASE_URL.
  VALUE     (none|pl|all) function type to track
            <options: none|pl|all>

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  track_functions controls tracking of function call counts and time used.
  Default is none.
  Valid values for VALUE:
  none - No functions are tracked (default)
  pl   - Only procedural language functions are tracked
  all  - All functions, including SQL and C language functions, are tracked.
  Simple SQL-language that are inlined are not tracked

コードを参照: ​src/commands/pg/settings/track-functions.ts

heroku pg:unfollow DATABASE

レプリカのフォローを停止し、それを書き込み可能なデータベースにします。

USAGE
  $ heroku pg:unfollow DATABASE -a <value> [-c <value>] [-r <value>]

ARGUMENTS
  DATABASE  config var containing the connection string, unique name, ID, or
            alias of the database. To access another app's database, prepend the
            app name to the config var or alias with `APP_NAME::`

FLAGS
  -a, --app=<value>      (required) app to run command against
  -c, --confirm=<value>
  -r, --remote=<value>   git remote of app to use

DESCRIPTION
  stop a replica from following and make it a writeable database

コード参照: ​src/commands/pg/unfollow.ts_

heroku pg:upgrade [DATABASE]

Essential 層プランの場合、このコマンドはデータベースの PostgreSQL バージョンをアップグレードします。Standard 層以上のプランの場合、このコマンドは PostgreSQL バージョンをアップグレードする前にリーダーデータベースのフォローを解除します。

USAGE
  $ heroku pg:upgrade [DATABASE] -a <value> [-c <value>] [-v <value>]
    [-r <value>]

ARGUMENTS
  DATABASE  config var containing the connection string, unique name, ID, or
            alias of the database. To access another app's database, prepend the
            app name to the config var or alias with `APP_NAME::` . If omitted,
            we use DATABASE_URL.

FLAGS
  -a, --app=<value>      (required) app to run command against
  -c, --confirm=<value>
  -r, --remote=<value>   git remote of app to use
  -v, --version=<value>  PostgreSQL version to upgrade to

DESCRIPTION
  For an Essential-* plan, this command upgrades the database's PostgreSQL
  version. For a Standard-tier and higher plan, this command unfollows the
  leader database before upgrading the PostgreSQL version.
  To upgrade to another PostgreSQL version, use pg:copy instead

コードを参照: ​src/commands/pg/upgrade.ts

heroku pg:vacuum-stats [DATABASE]

使用されなくなった行と、自動バキュームのトリガーが予測されるかどうかを表示します。

USAGE
  $ heroku pg:vacuum-stats [DATABASE] -a <value> [-r <value>]

ARGUMENTS
  DATABASE  config var containing the connection string, unique name, ID, or
            alias of the database. To access another app's database, prepend the
            app name to the config var or alias with `APP_NAME::` . If omitted,
            we use DATABASE_URL.

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  show dead rows and whether an automatic vacuum is expected to be triggered

コードを参照: ​src/commands/pg/vacuum-stats.ts

heroku pg:wait [DATABASE]

データベースが使用可能になるまでブロックします。

USAGE
  $ heroku pg:wait [DATABASE] -a <value> [--wait-interval <value>]
    [--no-notify] [-r <value>]

ARGUMENTS
  DATABASE  config var containing the connection string, unique name, ID, or
            alias of the database. To access another app's database, prepend the
            app name to the config var or alias with `APP_NAME::` . If omitted,
            we use all databases.

FLAGS
  -a, --app=<value>            (required) app to run command against
  -r, --remote=<value>         git remote of app to use
      --no-notify              do not show OS notification
      --wait-interval=<value>  how frequently to poll in seconds (to avoid rate
                               limiting)

DESCRIPTION
  blocks until database is available

コードを参照: ​src/commands/pg/wait.ts

heroku pipelines

アクセスできるパイプラインを一覧表示します。

USAGE
  $ heroku pipelines [--json]

FLAGS
  --json  output in json format

DESCRIPTION
  list pipelines you have access to

EXAMPLES
  $ heroku pipelines

コードを参照: ​src/commands/pipelines/index.ts

heroku pipelines:add PIPELINE

このアプリをパイプラインに追加します。

USAGE
  $ heroku pipelines:add PIPELINE -a <value> [-r <value>] [-s <value>]

ARGUMENTS
  PIPELINE  name of pipeline

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use
  -s, --stage=<value>   stage of first app in pipeline

DESCRIPTION
  add this app to a pipeline
  The app and pipeline names must be specified.
  The stage of the app will be guessed based on its name if not specified.

EXAMPLES
  $ heroku pipelines:add my-pipeline -a my-app -s production

コードを参照: ​src/commands/pipelines/add.ts

heroku pipelines:connect NAME

GitHub リポジトリを既存のパイプラインに接続します。

USAGE
  $ heroku pipelines:connect NAME -r <value>

ARGUMENTS
  NAME  name of pipeline

FLAGS
  -r, --repo=<value>  (required) the GitHub repository to connect to

DESCRIPTION
  connect a GitHub repo to an existing pipeline

EXAMPLES
  $ heroku pipelines:connect my-pipeline -r githuborg/reponame

コードを参照: ​src/commands/pipelines/connect.ts

heroku pipelines:create [NAME]

新しいパイプラインを作成します。

USAGE
  $ heroku pipelines:create [NAME] -a <value> [-r <value>] [-s <value>] [-t
    <value>]

ARGUMENTS
  NAME  name of pipeline (defaults to basename of the app)

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use
  -s, --stage=<value>   stage of first app in pipeline
  -t, --team=<value>    the team which will own the apps

DESCRIPTION
  create a new pipeline
  An existing app must be specified as the first app in the pipeline.
  The pipeline name will be inferred from the app name if not specified.
  The stage of the app will be guessed based on its name if not specified.
  The pipeline owner will be the user creating the pipeline if not specified
  with -t for teams or -o for orgs.

EXAMPLES
  $ heroku pipelines:create -a my-app-staging

  $ heroku pipelines:create my-pipeline -a my-app-staging

コードを参照: ​src/commands/pipelines/create.ts

heroku pipelines:destroy PIPELINE

パイプラインを破棄します。

USAGE
  $ heroku pipelines:destroy PIPELINE

ARGUMENTS
  PIPELINE  name of pipeline

DESCRIPTION
  destroy a pipeline

EXAMPLES
  $ heroku pipelines:destroy my-pipeline

コードを参照: ​src/commands/pipelines/destroy.ts

heroku pipelines:diff

このアプリの最新のリリースをそのダウンストリームアプリと比較します。

USAGE
  $ heroku pipelines:diff -a <value> [-r <value>]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  compares the latest release of this app to its downstream app(s)

EXAMPLES
  $ heroku pipelines:diff -a my-app-staging

コードを参照: ​src/commands/pipelines/diff.ts

heroku pipelines:info PIPELINE

パイプライン内のアプリの一覧を表示します。

USAGE
  $ heroku pipelines:info PIPELINE [--json]

ARGUMENTS
  PIPELINE  pipeline to show list of apps for

FLAGS
  --json  output in json format

DESCRIPTION
  show list of apps in a pipeline

EXAMPLES
  $ heroku pipelines:info my-pipeline

コードを参照: ​src/commands/pipelines/info.ts

heroku pipelines:open PIPELINE

ダッシュボードでパイプラインを開きます。

USAGE
  $ heroku pipelines:open PIPELINE

ARGUMENTS
  PIPELINE  name of pipeline

DESCRIPTION
  open a pipeline in dashboard

EXAMPLES
  $ heroku pipelines:open my-pipeline

コードを参照: ​src/commands/pipelines/open.ts

heroku pipelines:promote

このアプリの最新のリリースをそのダウンストリームアプリにプロモートします。

USAGE
  $ heroku pipelines:promote -a <value> [-r <value>] [-t <value>]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use
  -t, --to=<value>      comma separated list of apps to promote to

DESCRIPTION
  promote the latest release of this app to its downstream app(s)

EXAMPLES
  $ heroku pipelines:promote -a my-app-staging

コードを参照: ​src/commands/pipelines/promote.ts

heroku pipelines:remove

このアプリをそのパイプラインから削除します。

USAGE
  $ heroku pipelines:remove -a <value> [-r <value>]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  remove this app from its pipeline

EXAMPLES
  $ heroku pipelines:remove -a my-app

コードを参照: ​src/commands/pipelines/remove.ts

heroku pipelines:rename PIPELINE NAME

パイプラインの名前を変更します。

USAGE
  $ heroku pipelines:rename PIPELINE NAME

ARGUMENTS
  PIPELINE  current name of pipeline
  NAME      new name of pipeline

DESCRIPTION
  rename a pipeline

EXAMPLES
  $ heroku pipelines:rename my-pipeline new-pipeline-name

コードを参照: ​src/commands/pipelines/rename.ts

heroku pipelines:setup [NAME] [REPO]

新しいパイプラインを一般的な設定で立ち上げ、本番アプリとステージングアプリを作成します (完全に形成された app.json がリポジトリ内に必要)。

USAGE
  $ heroku pipelines:setup [NAME] [REPO] [-t <value>] [-y]

ARGUMENTS
  NAME  name of pipeline
  REPO  a GitHub repository to connect the pipeline to

FLAGS
  -t, --team=<value>  the team to assign pipeline ownership to (defaults to
                      current user)
  -y, --yes           accept all default settings without prompting

DESCRIPTION
  bootstrap a new pipeline with common settings and create a production and
  staging app (requires a fully formed app.json in the repo)

EXAMPLES
  $ heroku pipelines:setup my-pipeline githuborg/reponame -t my-team

コードを参照: ​src/commands/pipelines/setup.ts

heroku pipelines:transfer OWNER

パイプラインの所有権を移動します。

USAGE
  $ heroku pipelines:transfer OWNER -p <value> [-c <value>]

ARGUMENTS
  OWNER  the owner to transfer the pipeline to

FLAGS
  -c, --confirm=<value>
  -p, --pipeline=<value>  (required) name of pipeline

DESCRIPTION
  transfer ownership of a pipeline

EXAMPLES
  $ heroku pipelines:transfer admin@example.com -p my-pipeline

  $ heroku pipelines:transfer admin-team -p my-pipeline

コードを参照: ​src/commands/pipelines/transfer.ts

heroku pipelines:update

パイプライン内のアプリのステージを更新します。

USAGE
  $ heroku pipelines:update -a <value> -s <value> [-r <value>]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use
  -s, --stage=<value>   (required) new stage of app

DESCRIPTION
  update the app's stage in a pipeline

EXAMPLES
  $ heroku pipelines:update -s staging -a my-app

コードを参照: ​src/commands/pipelines/update.ts

heroku plugins

インストールされているプラグインを一覧表示します。

USAGE
  $ heroku plugins [--core]

FLAGS
  --core  Show core plugins.

DESCRIPTION
  List installed plugins.

EXAMPLES
  $ heroku plugins

コードを参照: ​@oclif/plugin-plugins

heroku plugins:inspect PLUGIN...

プラグインのインストールプロパティを表示します。

USAGE
  $ heroku plugins:inspect PLUGIN...

ARGUMENTS
  PLUGIN...  [default: .] Plugin to inspect.

FLAGS
  -h, --help     Show CLI help.
  -v, --verbose

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Displays installation properties of a plugin.

EXAMPLES
  $ heroku plugins:inspect myplugin

コードを参照: ​@oclif/plugin-plugins

heroku plugins:install PLUGIN...

プラグインを CLI にインストールします。

USAGE
  $ heroku plugins:install PLUGIN...

ARGUMENTS
  PLUGIN...  Plugin to install.

FLAGS
  -f, --force    Run yarn install with force flag.
  -h, --help     Show CLI help.
  -v, --verbose

DESCRIPTION
  Installs a plugin into the CLI.
  Can be installed from npm or a git url.

  Installation of a user-installed plugin will override a core plugin.

  e.g. If you have a core plugin that has a 'hello' command, installing a
  user-installed plugin with a 'hello' command will override the core plugin
  implementation. This is useful if a user needs to update core plugin
  functionality in the CLI without the need to patch and update the whole CLI.


ALIASES
  $ heroku plugins:add

EXAMPLES
  $ heroku plugins:install myplugin

  $ heroku plugins:install https://github.com/someuser/someplugin

  $ heroku plugins:install someuser/someplugin

コードを参照: ​@oclif/plugin-plugins

heroku plugins:link PLUGIN

開発のためにプラグインを CLI にリンクします。

USAGE
  $ heroku plugins:link PLUGIN

ARGUMENTS
  PATH  [default: .] path to plugin

FLAGS
  -h, --help     Show CLI help.
  -v, --verbose

DESCRIPTION
  Links a plugin into the CLI for development.
  Installation of a linked plugin will override a user-installed or core plugin.

  e.g. If you have a user-installed or core plugin that has a 'hello' command,
  installing a linked plugin with a 'hello' command will override the
  user-installed or core plugin implementation. This is useful for development
  work.


EXAMPLES
  $ heroku plugins:link myplugin

コードを参照: ​@oclif/plugin-plugins

heroku plugins:uninstall PLUGIN...

CLI からプラグインを削除します。

USAGE
  $ heroku plugins:uninstall PLUGIN...

ARGUMENTS
  PLUGIN  plugin to uninstall

FLAGS
  -h, --help     Show CLI help.
  -v, --verbose

DESCRIPTION
  Removes a plugin from the CLI.

ALIASES
  $ heroku plugins:unlink
  $ heroku plugins:remove

コードを参照: ​@oclif/plugin-plugins

heroku plugins:update

インストールされているプラグインを更新します。

USAGE
  $ heroku plugins:update [-h] [-v]

FLAGS
  -h, --help     Show CLI help.
  -v, --verbose

DESCRIPTION
  Update installed plugins.

コードを参照: ​@oclif/plugin-plugins

heroku ps [TYPE [TYPE ...]]

アプリの dyno を一覧表示します。

USAGE
  $ heroku ps [TYPE [TYPE ...]]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use
      --json            display as json

DESCRIPTION
  list dynos for an app

EXAMPLES
  $ heroku ps
  === run: one-off dyno
  run.1: up for 5m: bash
  === web: bundle exec thin start -p $PORT
  web.1: created for 30s

  $ heroku ps run # specifying types
  === run: one-off dyno
  run.1: up for 5m: bash

コードを参照: ​src/commands/ps/index.ts

heroku ps:autoscale:disable

Web dyno のオートスケールを無効にします。

USAGE
  $ heroku ps:autoscale:disable -a <value> [-r <value>]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  disable web dyno autoscaling

コードを参照: ​src/commands/ps/autoscale/disable.ts

heroku ps:autoscale:enable

Web dyno のオートスケールを有効にします。

USAGE
  $ heroku ps:autoscale:enable -a <value> --min <value> --max <value> [-r
    <value>] [--p95 <value>] [--notifications]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use
      --max=<value>     (required) maximum number of dynos
      --min=<value>     (required) minimum number of dynos
      --notifications   receive email notifications when the max dyno limit is
                        reached
      --p95=<value>     desired p95 response time

DESCRIPTION
  enable web dyno autoscaling

コードを参照: ​src/commands/ps/autoscale/enable.ts

heroku ps:copy FILE

dyno からローカルファイルシステムにファイルをコピーします。

USAGE
  $ heroku ps:copy FILE -a <value> [-d <value>] [-o <value>] [-r
    <value>]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -d, --dyno=<value>    specify the dyno to connect to
  -o, --output=<value>  the name of the output file
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  Copy a file from a dyno to the local filesystem
  Example:

  $ heroku ps:copy FILENAME --app murmuring-headland-14719

heroku ps:exec

dyno への SSH セッションを作成します。

USAGE
  $ heroku ps:exec -a <value> [-d <value>] [--ssh] [--status] [-r
    <value>]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -d, --dyno=<value>    specify the dyno to connect to
  -r, --remote=<value>  git remote of app to use
      --ssh             use native ssh
      --status          lists the status of the SSH server in the dyno

DESCRIPTION
  Create an SSH session to a dyno
  Example:

  $ heroku ps:exec 'node -i' --app murmuring-headland-14719

heroku ps:forward PORT

ローカルポート上のトラフィックを dyno に転送します。

USAGE
  $ heroku ps:forward PORT -a <value> [-d <value>] [-r <value>]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -d, --dyno=<value>    specify the dyno to connect to
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  Forward traffic on a local port to a dyno
  Provide a port or comma-separated list of ports to forward.

  For example, "4000,9000:9001" will forward port 4000 to port 4000 and
  port 9000 to port 9001.

  Example:

  $ heroku ps:forward 8080 --app murmuring-headland-14719

heroku ps:restart [DYNO]

アプリの dyno またはプロセスタイプを再起動します。

USAGE
  $ heroku ps:restart [DYNO] -a <value> [-r <value>] [-p <value> | -d
    <value>]

ARGUMENTS
  DYNO  name of the dyno to restart

FLAGS
  -a, --app=<value>           (required) app to run command against
  -d, --dyno-name=<value>     name of the dyno to restart
  -p, --process-type=<value>  name of the process type to restart
  -r, --remote=<value>        git remote of app to use

DESCRIPTION
  restart an app dyno or process type
  if neither --dyno nor --type are specified, restarts all dynos on app


ALIASES
  $ heroku dyno:restart

EXAMPLES
  $ heroku ps:restart --app myapp --dyno-name web.1

  $ heroku ps:restart --app myapp --process-type web

  $ heroku ps:restart --app myapp

コードを参照: ​src/commands/ps/restart.ts

heroku ps:scale

dyno の数量をスケールアップまたはスケールダウンします。

USAGE
  $ heroku ps:scale -a <value> [-r <value>]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  scale dyno quantity up or down
  Appending a size (eg. web=2:Standard-2X) allows simultaneous scaling and
  resizing.

  Omitting any arguments will display the app's current dyno formation, in a
  format suitable for passing back into ps:scale.


ALIASES
  $ heroku dyno:scale

EXAMPLES
  $ heroku ps:scale web=3:Standard-2X worker+1 --app APP
  Scaling dynos... done, now running web at 3:Standard-2X, worker at 1:Standard-1X.

  $ heroku ps:scale --app APP
  web=3:Standard-2X worker=1:Standard-1X

コードを参照: ​src/commands/ps/scale.ts

heroku ps:socks

dyno に SOCKS プロキシを起動します。

USAGE
  $ heroku ps:socks -a <value> [-d <value>] [-r <value>]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -d, --dyno=<value>    specify the dyno to connect to
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  Launch a SOCKS proxy into a dyno
  Example:

  $ heroku ps:socks --app murmuring-headland-14719
  Establishing credentials... done
  SOCKSv5 proxy server started on port 1080
  Use CTRL+C to stop the proxy

heroku ps:stop [DYNO]

アプリの dyno またはプロセスタイプを停止します。

USAGE
  $ heroku ps:stop [DYNO] -a <value> [-r <value>] [-p <value> | -d
    <value>]

ARGUMENTS
  DYNO  name of the dyno to stop

FLAGS
  -a, --app=<value>           (required) app to run command against
  -d, --dyno-name=<value>     name of the dyno to stop
  -p, --process-type=<value>  name of the process type to stop
  -r, --remote=<value>        git remote of app to use

DESCRIPTION
  stop an app dyno or process type

ALIASES
  $ heroku dyno:stop
  $ heroku ps:kill
  $ heroku dyno:kill

EXAMPLES
  $ heroku ps:stop --app myapp --dyno-name run.1828

  $ heroku ps:stop --app myapp --process-type run

コードを参照: ​src/commands/ps/stop.ts

heroku ps:type

dyno サイズを管理します。

USAGE
  $ heroku ps:type -a <value> [-r <value>]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  manage dyno sizes
  Called with no arguments shows the current dyno size.

  Called with one argument sets the size.
  Where SIZE is one of eco|basic|standard-1x|standard-2x|performance

  Called with 1..n TYPE=SIZE arguments sets the quantity per type.


ALIASES
  $ heroku ps:resize
  $ heroku dyno:resize

コードを参照: ​src/commands/ps/type.ts

heroku ps:wait

リリースの後にすべての dyno が最新バージョンを実行するまで待ちます。

USAGE
  $ heroku ps:wait -a <value> [-r <value>] [-w <value>] [-R | -t
    <value>]

FLAGS
  -R, --with-run               whether to wait for one-off run dynos
  -a, --app=<value>            (required) app to run command against
  -r, --remote=<value>         git remote of app to use
  -t, --type=<value>           wait for one specific dyno type
  -w, --wait-interval=<value>  [default: 10] how frequently to poll in seconds
                               (to avoid hitting Heroku API rate limits)

DESCRIPTION
  wait for all dynos to be running latest version after a release

コードを参照: ​src/commands/ps/wait.ts

heroku redis:cli [DATABASE]

Redis プロンプトを開きます。

USAGE
  $ heroku redis:cli [DATABASE] -a <value> [-c <value>] [-r <value>]

ARGUMENTS
  DATABASE  name of the Key-Value Store database. If omitted, it defaults to the
            primary database associated with the app.

FLAGS
  -a, --app=<value>      (required) app to run command against
  -c, --confirm=<value>
  -r, --remote=<value>   git remote of app to use

DESCRIPTION
  opens a redis prompt

EXAMPLES
  $ heroku redis:cli --app=my-app my-database

  $ heroku redis:cli --app=my-app --confirm my-database

コードを参照: ​src/commands/redis/cli.ts

heroku redis:credentials [DATABASE]

資格情報を表示します。

USAGE
  $ heroku redis:credentials [DATABASE] -a <value> [-r <value>] [--reset]

ARGUMENTS
  DATABASE  name of the Key-Value Store database. If omitted, it defaults to the
            primary database associated with the app.

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use
      --reset           reset credentials

DESCRIPTION
  display credentials information

コードを参照: ​src/commands/redis/credentials.ts

heroku redis:info [DATABASE]

Redis に関する情報を取得します。

USAGE
  $ heroku redis:info [DATABASE] -a <value> [-r <value>] [-j]

ARGUMENTS
  DATABASE  name of the Key-Value Store database. If omitted, it defaults to the
            primary database associated with the app.

FLAGS
  -a, --app=<value>     (required) app to run command against
  -j, --json            output in json format
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  gets information about redis

ALIASES
  $ heroku redis

コードを参照: ​src/commands/redis/info.ts

heroku redis:keyspace-notifications [DATABASE]

キー空間通知構成を設定します。

USAGE
  $ heroku redis:keyspace-notifications [DATABASE] -a <value> -c <value> [-r
  <value>]

ARGUMENTS
  DATABASE  name of the Key-Value Store database. If omitted, it defaults to the
            primary database associated with the app.

FLAGS
  -a, --app=<value>     (required) app to run command against
  -c, --config=<value>  (required) set keyspace notifications configuration
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  set the keyspace notifications configuration
  Set the configuration to enable keyspace notification events:
  K     Keyspace events, published with __keyspace@<db>__ prefix.
  E     Keyevent events, published with __keyevent@<db>__ prefix.
  g     Generic commands (non-type specific) like DEL, EXPIRE, RENAME, ...
  $     String commands
  l     List commands
  s     Set commands
  h     Hash commands
  z     Sorted set commands
  t     Stream commands
  x     Expired events (events generated every time a key expires)
  e     Evicted events (events generated when a key is evicted for maxmemory)
  m     Key miss events (events generated when a key that doesn't exist is
  accessed)
  A     Alias for "g$lshztxe", so that the "AKE" string means all the events
  except "m".

  pass an empty string ('') to disable keyspace notifications

コードを参照: ​src/commands/redis/keyspace-notifications.ts

heroku redis:maintenance [DATABASE]

メンテナンスウィンドウを管理します。

USAGE
  $ heroku redis:maintenance [DATABASE] -a <value> [-r <value>] [-w <value>]
    [--run] [-f]

ARGUMENTS
  DATABASE  name of the Key-Value Store database. If omitted, it defaults to the
            primary database associated with the app.

FLAGS
  -a, --app=<value>     (required) app to run command against
  -f, --force           start maintenance without entering application
                        maintenance mode
  -r, --remote=<value>  git remote of app to use
  -w, --window=<value>  set weekly UTC maintenance window (format: "Day HH:MM",
                        where MM is 00 or 30)
      --run             start maintenance

DESCRIPTION
  manage maintenance windows
  Set or change the maintenance window for your Redis instance

コードを参照: ​src/commands/redis/maintenance.ts

heroku redis:maxmemory [DATABASE]

インスタンスがストレージ制限に達したときにキーエビクションポリシーを設定します。

USAGE
  $ heroku redis:maxmemory [DATABASE] -a <value> -p <value> [-r <value>]

ARGUMENTS
  DATABASE  name of the Key-Value Store database. If omitted, it defaults to the
            primary database associated with the app.

FLAGS
  -a, --app=<value>     (required) app to run command against
  -p, --policy=<value>  (required) set policy name
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  set the key eviction policy when instances reach their storage limit
  Available policies for key eviction include:

  noeviction      # returns errors when memory limit is reached
  allkeys-lfu     # removes less frequently used keys first
  volatile-lfu    # removes less frequently used keys first that have an expiry
  set
  allkeys-lru     # removes less recently used keys first
  volatile-lru    # removes less recently used keys first that have an expiry
  set
  allkeys-random  # evicts random keys
  volatile-random # evicts random keys but only those that have an expiry set
  volatile-ttl    # only evicts keys with an expiry set and a short TTL

コードを参照: ​src/commands/redis/maxmemory.ts

heroku redis:promote [DATABASE]

sets DATABASE as your REDIS_URL

USAGE
  $ heroku redis:promote [DATABASE] -a <value> [-r <value>]

ARGUMENTS
  DATABASE  name of the Key-Value Store database. If omitted, it defaults to the
            primary database associated with the app.

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  sets DATABASE as your REDIS_URL

コードを参照: ​src/commands/redis/promote.ts

heroku redis:stats-reset [DATABASE]

RESETSTAT の対象となるすべての統計をリセットします (https://redis.io/commands/config-resetstat)。

USAGE
  $ heroku redis:stats-reset [DATABASE] -a <value> [-r <value>] [-c <value>]

ARGUMENTS
  DATABASE  name of the Key-Value Store database. If omitted, it defaults to the
            primary database associated with the app.

FLAGS
  -a, --app=<value>      (required) app to run command against
  -c, --confirm=<value>
  -r, --remote=<value>   git remote of app to use

DESCRIPTION
  reset all stats covered by RESETSTAT
  (https://redis.io/commands/config-resetstat)

コードを参照: ​src/commands/redis/stats-reset.ts

heroku redis:timeout [DATABASE]

アイドル接続を強制終了するまでに待つ秒数を設定します。

USAGE
  $ heroku redis:timeout [DATABASE] -a <value> -s <value> [-r <value>]

ARGUMENTS
  DATABASE  name of the Key-Value Store database. If omitted, it defaults to the
            primary database associated with the app.

FLAGS
  -a, --app=<value>      (required) app to run command against
  -r, --remote=<value>   git remote of app to use
  -s, --seconds=<value>  (required) set timeout value

DESCRIPTION
  set the number of seconds to wait before killing idle connections
  A value of zero means that connections will not be closed.

コードを参照: ​src/commands/redis/timeout.ts

heroku redis:upgrade [DATABASE]

インプレースバージョンアップグレードを実行します。

USAGE
  $ heroku redis:upgrade [DATABASE] -a <value> -v <value> [-r <value>] [-c
    <value>]

ARGUMENTS
  DATABASE  name of the Key-Value Store database. If omitted, it defaults to the
            primary database associated with the app.

FLAGS
  -a, --app=<value>      (required) app to run command against
  -c, --confirm=<value>
  -r, --remote=<value>   git remote of app to use
  -v, --version=<value>  (required)

DESCRIPTION
  perform in-place version upgrade

コードを参照: ​src/commands/redis/upgrade.ts

heroku redis:wait [DATABASE]

Redis インスタンスが使用可能になるまで待ちます。

USAGE
  $ heroku redis:wait [DATABASE] -a <value> [--wait-interval <value>]
    [-r <value>]

ARGUMENTS
  DATABASE  name of the Key-Value Store database. If omitted, it defaults to the
            primary database associated with the app.

FLAGS
  -a, --app=<value>            (required) app to run command against
  -r, --remote=<value>         git remote of app to use
      --wait-interval=<value>  how frequently to poll in seconds

DESCRIPTION
  wait for Redis instance to be available

コードを参照: ​src/commands/redis/wait.ts

heroku regions

デプロイに使用可能なリージョンを一覧表示します。

USAGE
  $ heroku regions [--json] [--private] [--common]

FLAGS
  --common   show regions for common runtime
  --json     output in json format
  --private  show regions for private spaces

DESCRIPTION
  list available regions for deployment

コードを参照: ​src/commands/regions.ts

heroku releases

アプリのリリースを表示します。

USAGE
  $ heroku releases -a <value> [-n <value>] [--json] [-r <value>]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -n, --num=<value>     number of releases to show
  -r, --remote=<value>  git remote of app to use
      --json            output releases in json format

DESCRIPTION
  display the releases for an app

EXAMPLES
  v1 Config add FOO_BAR email@example.com 2015/11/17 17:37:41 (~ 1h ago)

  v2 Config add BAR_BAZ email@example.com 2015/11/17 17:37:41 (~ 1h ago)

  v3 Config add BAZ_QUX email@example.com 2015/11/17 17:37:41 (~ 1h ago)

コードを参照: ​src/commands/releases/index.ts

heroku releases:info [RELEASE]

リリースに関する詳細情報を表示します。

USAGE
  $ heroku releases:info [RELEASE] -a <value> [--json] [-s] [-r <value>]

ARGUMENTS
  RELEASE  ID of the release. If omitted, we use the last release ID.

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use
  -s, --shell           output in shell format
      --json            output in json format

DESCRIPTION
  view detailed information for a release

コードを参照: ​src/commands/releases/info.ts

heroku releases:output [RELEASE]

release コマンドの出力を表示します。

USAGE
  $ heroku releases:output [RELEASE] -a <value> [-r <value>]

ARGUMENTS
  RELEASE  ID of the release. If omitted, we use the last release ID.

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  View the release command output

コードを参照: ​src/commands/releases/output.ts

heroku releases:rollback [RELEASE]

以前のリリースにロールバックします。

USAGE
  $ heroku releases:rollback [RELEASE] -a <value> [-r <value>]

ARGUMENTS
  RELEASE  ID of the release. If omitted, we use the last eligible release.

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  Roll back to a previous release.

  If RELEASE is not specified, it will roll back to the last eligible release.

コードを参照: ​src/commands/releases/rollback.ts

heroku reviewapps:disable

レビューアプリか既存のパイプラインの設定、またはその両方を無効にします。

USAGE
  $ heroku reviewapps:disable -p <value> [-a <value>] [-r <value>]
    [--no-autodeploy] [--no-autodestroy] [--no-wait-for-ci]

FLAGS
  -a, --app=<value>       parent app used by review apps
  -p, --pipeline=<value>  (required) name of pipeline
  -r, --remote=<value>    git remote of app to use
      --no-autodeploy     disable autodeployments
      --no-autodestroy    disable automatically destroying review apps
      --no-wait-for-ci    disable wait for CI

DESCRIPTION
  disable review apps and/or settings on an existing pipeline

EXAMPLES
  $ heroku reviewapps:disable -p my-pipeline -a my-app --no-autodeploy

コードを参照: ​src/commands/reviewapps/disable.ts

heroku reviewapps:enable

レビューアプリか既存のパイプラインの設定、またはその両方を有効にします。

USAGE
  $ heroku reviewapps:enable -p <value> [-a <value>] [-r <value>]
    [--autodeploy] [--autodestroy] [--wait-for-ci]

FLAGS
  -a, --app=<value>       parent app used by review apps
  -p, --pipeline=<value>  (required) name of pipeline
  -r, --remote=<value>    git remote of app to use
      --autodeploy        autodeploy the review app
      --autodestroy       autodestroy the review app
      --wait-for-ci       wait for CI to pass before deploying

DESCRIPTION
  enable review apps and/or settings on an existing pipeline

EXAMPLES
  $ heroku reviewapps:enable -p my-pipeline -a my-app --autodeploy --autodestroy

コードを参照: ​src/commands/reviewapps/enable.ts

heroku run

Heroku dyno の内部で 1 回限りのプロセスを実行します。

USAGE
  $ heroku run -a <value> [-r <value>] [-s <value>] [--type
    <value>] [-x] [-e <value>] [--no-tty] [--no-notify]

FLAGS
  -a, --app=<value>     (required) parent app used by review apps
  -e, --env=<value>     environment variables to set (use ';' to split multiple
                        vars)
  -r, --remote=<value>  git remote of app to use
  -s, --size=<value>    dyno size
  -x, --exit-code       passthrough the exit code of the remote command
      --no-notify       disables notification when dyno is up (alternatively use
                        HEROKU_NOTIFICATIONS=0)
      --no-tty          force the command to not run in a tty
      --type=<value>    process type

DESCRIPTION
  run a one-off process inside a heroku dyno
  Shows a notification if the dyno takes more than 20 seconds to start.

EXAMPLES
  $ heroku run bash

  $ heroku run -s standard-2x -- myscript.sh -a arg1 -s arg2

コードを参照: ​src/commands/run/index.ts

heroku run:detached

分離された dyno を実行します。ここで、出力はログに送信されます。

USAGE
  $ heroku run:detached -a <value> [-r <value>] [-e <value>] [-s <value>]
    [-t] [--type <value>]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -e, --env=<value>     environment variables to set (use ';' to split multiple
                        vars)
  -r, --remote=<value>  git remote of app to use
  -s, --size=<value>    dyno size
  -t, --tail            continually stream logs
      --type=<value>    process type

DESCRIPTION
  run a detached dyno, where output is sent to your logs

EXAMPLES
  $ heroku run:detached ls

コードを参照: ​src/commands/run/detached.ts

heroku run:inside DYNO_NAME COMMAND

既存の dyno 内でコマンドを実行します (Fir 世代アプリのみ)。

USAGE
  $ heroku run:inside DYNO_NAME... COMMAND... -a <value> [-x]
    [--no-launcher] [-r <value>]

ARGUMENTS
  DYNO_NAME...  name of the dyno to run command inside
  COMMAND...    command to run (Heroku automatically prepends ‘launcher’ to the
                command)

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use
  -x, --exit-code       passthrough the exit code of the remote command
      --no-launcher     don’t prepend ‘launcher’ before a command

DESCRIPTION
  run a command inside an existing dyno (for Fir-generation apps only)

EXAMPLES
  Run bash

    $ heroku run:inside web-848cd4f64d-pvpr2 bash -a my-app

  Run a command supplied by a script taking option flags

    $ heroku run:inside web-848cd4f64d-pvpr2 -a my-app -- myscript.sh -x \
      --log-level=warn

  Run a command declared for the worker process type in a Procfile

    $ heroku run:inside web-848cd4f64d-pvpr2 worker -a my-app

コードを参照: ​src/commands/run/inside.ts

heroku sessions

OAuth セッションを一覧表示します。

USAGE
  $ heroku sessions [-j]

FLAGS
  -j, --json  output in json format

DESCRIPTION
  list your OAuth sessions

コードを参照: ​src/commands/sessions/index.ts

heroku sessions:destroy ID

ID で OAuth セッションを削除 (ログアウト) します。

USAGE
  $ heroku sessions:destroy ID

ARGUMENTS
  ID  ID of the OAuth session

DESCRIPTION
  delete (logout) OAuth session by ID

コードを参照: ​src/commands/sessions/destroy.ts

heroku spaces

使用可能な領域を一覧表示します。

USAGE
  $ heroku spaces [--json] [-t <value>]

FLAGS
  -t, --team=<value>  team to use
      --json          output in json format

DESCRIPTION
  list available spaces

コードを参照: ​src/commands/spaces/index.ts

heroku spaces:create

新しい領域を作成します。

USAGE
  $ heroku spaces:create [SPACE] -t <value> [--cidr <value>] [--data-cidr
    <value>] [--generation cedar|fir] [--region <value>] [-s <value>]

FLAGS
  -s, --space=<value>        name of space to create
  -t, --team=<value>         (required) team to use
      --cidr=<value>         RFC-1918 CIDR the space will use
      --data-cidr=<value>    RFC-1918 CIDR used by Heroku Data resources for the
                             space
      --generation=<option>  [default: cedar] generation for space
                             <options: cedar|fir>
      --region=<value>       region name

DESCRIPTION
  create a new space


EXAMPLES
  Example:
  $ heroku spaces:create --space my-space --team my-team --region oregon
  Creating space my-space in team my-team... done
  === my-space
  ID:         e7b99e37-69b3-4475-ad47-a5cc5d75fd9f
  Team:       my-team
  Region:     oregon
  CIDR:       10.0.0.0/16
  Data CIDR:  172.23.0.0/20
  State:      allocating
  Generation: cedar
  Created at: 2016-01-06T03:23:13Z

コードを参照: ​src/commands/spaces/create.ts

heroku spaces:destroy

領域を破棄します。

USAGE
  $ heroku spaces:destroy [SPACE] [-s <value>] [--confirm <value>]

FLAGS
  -s, --space=<value>    space to destroy
      --confirm=<value>  set to space name to bypass confirm prompt

DESCRIPTION
  destroy a space


EXAMPLES
  $ heroku spaces:destroy --space my-space
  Destroying my-space... done

コードを参照: ​src/commands/spaces/destroy.ts

heroku spaces:info

領域に関する情報を表示します。

USAGE
  $ heroku spaces:info [SPACE] [-s <value>] [--json]

FLAGS
  -s, --space=<value>  space to get info of
      --json           output in json format

DESCRIPTION
  show info about a space

EXAMPLES
  $ heroku spaces:info my-space

コードを参照: ​src/commands/spaces/info.ts

heroku spaces:peerings

領域のピアリング接続を一覧表示します。

USAGE
  $ heroku spaces:peerings [SPACE] [-s <value>] [--json]

FLAGS
  -s, --space=<value>  space to get peer list from
      --json           output in json format

DESCRIPTION
  list peering connections for a space

コードを参照: ​src/commands/spaces/peerings/index.ts

heroku spaces:peerings:accept

Private Space に対する保留中のピアリングリクエストを受け付けます。

USAGE
  $ heroku spaces:peerings:accept [PCXID] [SPACE] [-p <value>] [-s <value>]

FLAGS
  -p, --pcxid=<value>  PCX ID of a pending peering
  -s, --space=<value>  space to get peering info from

DESCRIPTION
  accepts a pending peering request for a private space

EXAMPLES
  $ heroku spaces:peerings:accept pcx-4bd27022 --space example-space
      Accepting and configuring peering connection pcx-4bd27022

コードを参照: ​src/commands/spaces/peerings/accept.ts

heroku spaces:peerings:destroy

Private Space 内のアクティブなピアリング接続を破棄します。

USAGE
  $ heroku spaces:peerings:destroy [PCXID] -s <value> [-p <value>] [--confirm
  <value>]

FLAGS
  -p, --pcxid=<value>    PCX ID of a pending peering
  -s, --space=<value>    (required) space to get peering info from
      --confirm=<value>  set to PCX ID to bypass confirm prompt

DESCRIPTION
  destroys an active peering connection in a private space

EXAMPLES
  $ heroku spaces:peerings:destroy pcx-4bd27022 --confirm pcx-4bd27022 --space example-space
  Tearing down peering connection pcx-4bd27022... done

コードを参照: ​src/commands/spaces/peerings/destroy.ts

heroku spaces:peerings:info

ピアリング接続を開始するために必要な情報を表示します。

USAGE
  $ heroku spaces:peerings:info [SPACE] [-s <value>] [--json]

FLAGS
  -s, --space=<value>  space to get peering info from
      --json           output in json format

DESCRIPTION
  display the information necessary to initiate a peering connection

  You will use the information provided by this command to establish a peering
  connection request from your AWS VPC to your private space.

  To start the peering process, go into your AWS console for the VPC you would
  like peered with your Private Space,
  navigate to the VPC service, choose the "Peering Connections" option and click
  the "Create peering connection" button.

  - The AWS Account ID and VPC ID are necessary for the AWS VPC Peering
  connection wizard.
  - You will also need to configure your VPC route table to route the Dyno CIDRs
  through the peering connection.

  Once you've established the peering connection request, you can use the
  spaces:peerings:accept command to accept and
  configure the peering connection for the space.


EXAMPLES
  $ heroku spaces:peering:info example-space
  === example-space  Peering Info
  AWS Account ID:    012345678910
  AWS Region:        us-west-2
  AWS VPC ID:        vpc-baadf00d
  AWS VPC CIDR:      10.0.0.0/16
  Space CIDRs:       10.0.128.0/20, 10.0.144.0/20
  Unavailable CIDRs: 10.1.0.0/16

コードを参照: ​src/commands/spaces/peerings/info.ts

heroku spaces:ps

領域の dyno を一覧表示します。

USAGE
  $ heroku spaces:ps [SPACE] [-s <value>] [--json]

FLAGS
  -s, --space=<value>  space to get dynos of
      --json           output in json format

DESCRIPTION
  list dynos for a space

コードを参照: ​src/commands/spaces/ps.ts

heroku spaces:rename

領域の名前を変更します。

USAGE
  $ heroku spaces:rename --from <value> --to <value>

FLAGS
  --from=<value>  (required) current name of space
  --to=<value>    (required) desired name of space

DESCRIPTION
  renames a space

EXAMPLES
  $ heroku spaces:rename --from old-space-name --to new-space-name
  Renaming space old-space-name to new-space-name... done

コードを参照: ​src/commands/spaces/rename.ts

heroku spaces:topology

領域のトポロジーを表示します。

USAGE
  $ heroku spaces:topology [SPACE] [-s <value>] [--json]

FLAGS
  -s, --space=<value>  space to get topology of
      --json           output in json format

DESCRIPTION
  show space topology

コードを参照: ​src/commands/spaces/topology.ts

heroku spaces:transfer

領域を別のチームに移動します。

USAGE
  $ heroku spaces:transfer -s <value> -t <value>

FLAGS
  -s, --space=<value>  (required) name of space
  -t, --team=<value>   (required) desired owner of space

DESCRIPTION
  transfer a space to another team

EXAMPLES
  $ heroku spaces:transfer --space=space-name --team=team-name
  Transferring space-name to team-name... done

コードを参照: ​src/commands/spaces/transfer.ts

heroku spaces:trusted-ips

領域の信頼済み IP 範囲を一覧表示します。

USAGE
  $ heroku spaces:trusted-ips [SPACE] [-s <value>] [--json]

FLAGS
  -s, --space=<value>  space to get inbound rules from
      --json           output in json format

DESCRIPTION
  list trusted IP ranges for a space
  Trusted IP ranges are only available on Private Spaces.

  The space name is a required parameter. Newly created spaces will have
  0.0.0.0/0 set by default
  allowing all traffic to applications in the space. More than one CIDR block
  can be provided at
  a time to the commands listed below. For example 1.2.3.4/20 and 5.6.7.8/20 can
  be added with:

コードを参照: ​src/commands/spaces/trusted-ips/index.ts

heroku spaces:trusted-ips:add SOURCE

信頼済み IP 範囲の一覧に 1 つの範囲を追加します。

USAGE
  $ heroku spaces:trusted-ips:add SOURCE -s <value> [--confirm <value>]

ARGUMENTS
  SOURCE  IP address in CIDR notation

FLAGS
  -s, --space=<value>    (required) space to add rule to
      --confirm=<value>  set to space name to bypass confirm prompt

DESCRIPTION
  Add one range to the list of trusted IP ranges
  Uses CIDR notation.

EXAMPLES
  $ heroku trusted-ips:add --space my-space 192.168.2.0/24
    Added 192.168.0.1/24 to trusted IP ranges on my-space

コードを参照: ​src/commands/spaces/trusted-ips/add.ts

heroku spaces:trusted-ips:remove SOURCE

信頼済み IP 範囲の一覧から範囲を削除します。

USAGE
  $ heroku spaces:trusted-ips:remove SOURCE -s <value> [--confirm <value>]

ARGUMENTS
  SOURCE  IP address in CIDR notation

FLAGS
  -s, --space=<value>    (required) space to remove rule from
      --confirm=<value>  set to space name to bypass confirm prompt

DESCRIPTION
  Remove a range from the list of trusted IP ranges
  Uses CIDR notation.

EXAMPLES
  $ heroku trusted-ips:remove --space my-space 192.168.2.0/24
      Removed 192.168.2.0/24 from trusted IP ranges on my-space

コードを参照: ​src/commands/spaces/trusted-ips/remove.ts

heroku spaces:vpn:config NAME

VPN の設定情報を表示します。

USAGE
  $ heroku spaces:vpn:config NAME -s <value> [--json]

ARGUMENTS
  NAME  name or id of the VPN connection to retrieve config from

FLAGS
  -s, --space=<value>  (required) space the VPN connection belongs to
      --json           output in json format

DESCRIPTION
  display the configuration information for VPN

  You will use the information provided by this command to establish a Private
  Space VPN Connection.

  - You must configure your VPN Gateway to use both Tunnels provided by Heroku
  - The VPN Gateway values are the IP addresses of the Private Space Tunnels
  - The Customer Gateway value is the Public IP of your VPN Gateway
  - The VPN Gateway must use the IKE Version shown and the Pre-shared Keys as
  the authentication method


EXAMPLES
  $ heroku spaces:vpn:config vpn-connection-name --space my-space
  === vpn-connection-name VPN Tunnels
   VPN Tunnel Customer Gateway VPN Gateway    Pre-shared Key Routable Subnets IKE Version
   ────────── ──────────────── ────────────── ────────────── ──────────────── ───────────
   Tunnel 1    104.196.121.200   35.171.237.136  abcdef12345     10.0.0.0/16       1
   Tunnel 2    104.196.121.200   52.44.7.216     fedcba54321     10.0.0.0/16       1

コードを参照: ​src/commands/spaces/vpn/config.ts

heroku spaces:vpn:connect NAME

VPN を作成します。

USAGE
  $ heroku spaces:vpn:connect NAME -i <value> -c <value> -s <value>

ARGUMENTS
  NAME  name or id of the VPN connection to create

FLAGS
  -c, --cidrs=<value>  (required) a list of routable CIDRs separated by commas
  -i, --ip=<value>     (required) public IP of customer gateway
  -s, --space=<value>  (required) space name

DESCRIPTION
  create VPN
  Private Spaces can be connected to another private network via an IPSec VPN
  connection allowing dynos to connect to hosts on your private networks and
  vice versa.
  The connection is established over the public Internet but all traffic is
  encrypted using IPSec.


EXAMPLES
  $ heroku spaces:vpn:connect vpn-connection-name --ip 35.161.69.30 --cidrs 172.16.0.0/16,10.0.0.0/24 --space my-space
  Creating VPN Connection in space my-space... done
  ▸    Use spaces:vpn:wait to track allocation.

コードを参照: ​src/commands/spaces/vpn/connect.ts

heroku spaces:vpn:connections

領域の VPN 接続を一覧表示します。

USAGE
  $ heroku spaces:vpn:connections -s <value> [--json]

FLAGS
  -s, --space=<value>  (required) space to get VPN connections from
      --json           output in json format

DESCRIPTION
  list the VPN Connections for a space

EXAMPLES
  $ heroku spaces:vpn:connections --space my-space
  === my-space VPN Connections
   Name   Status Tunnels
   ────── ────── ───────
   office active UP/UP

コードを参照: ​src/commands/spaces/vpn/connections.ts

heroku spaces:vpn:destroy NAME

Private Space 内の VPN を破棄します。

USAGE
  $ heroku spaces:vpn:destroy NAME -s <value>

ARGUMENTS
  NAME  name or id of the VPN connection to destroy

FLAGS
  -s, --space=<value>  (required) space name

DESCRIPTION
  destroys VPN in a private space

EXAMPLES
  $ heroku spaces:vpn:destroy vpn-connection-name --space example-space --confirm vpn-connection-name
  Tearing down VPN Connection vpn-connection-name in space example-space

コードを参照: ​src/commands/spaces/vpn/destroy.ts

heroku spaces:vpn:info NAME

VPN の情報を表示します。

USAGE
  $ heroku spaces:vpn:info NAME -s <value> [--json]

ARGUMENTS
  NAME  name or id of the VPN connection to get info from

FLAGS
  -s, --space=<value>  (required) space the vpn connection belongs to
      --json           output in json format

DESCRIPTION
  display the information for VPN

EXAMPLES
  $ heroku spaces:vpn:info vpn-connection-name --space my-space
  === vpn-connection-name VPN Tunnel Info
  Name:           vpn-connection-name
  ID:             123456789012
  Public IP:      35.161.69.30
  Routable CIDRs: 172.16.0.0/16
  Status:         failed
  Status Message: supplied CIDR block already in use
  === my-space Tunnel Info
   VPN Tunnel IP Address    Status Last Changed         Details
   ────────── ───────────── ────── ──────────────────── ─────────────
   Tunnel 1   52.44.146.197 UP     2016-10-25T22:09:05Z status message
   Tunnel 2   52.44.146.197 UP     2016-10-25T22:09:05Z status message

コードを参照: ​src/commands/spaces/vpn/info.ts

heroku spaces:vpn:update NAME

VPN を更新します。

USAGE
  $ heroku spaces:vpn:update NAME -c <value> -s <value>

ARGUMENTS
  NAME  name or id of the VPN connection to update

FLAGS
  -c, --cidrs=<value>  (required) a list of routable CIDRs separated by commas
  -s, --space=<value>  (required) space name

DESCRIPTION
  update VPN
  Private Spaces can be connected to another private network via an IPSec VPN
  connection allowing dynos to connect to hosts on your private networks and
  vice versa.
  The connection is established over the public Internet but all traffic is
  encrypted using IPSec.


EXAMPLES
  $ heroku spaces:vpn:update vpn-connection-name --space my-space --cidrs 172.16.0.0/16,10.0.0.0/24
  Updating VPN Connection in space my-space... done

コードを参照: ​src/commands/spaces/vpn/update.ts

heroku spaces:vpn:wait NAME

VPN 接続が作成されるまで待ちます。

USAGE
  $ heroku spaces:vpn:wait NAME -s <value> [--json] [-i <value>] [-t <value>]

ARGUMENTS
  NAME  name or id of the VPN connection you are waiting on for allocation.

FLAGS
  -i, --interval=<value>  seconds to wait between poll intervals
  -s, --space=<value>     (required) space the vpn connection belongs to
  -t, --timeout=<value>   maximum number of seconds to wait
      --json              output in json format

DESCRIPTION
  wait for VPN Connection to be created

EXAMPLES
   $ heroku spaces:vpn:wait vpn-connection-name --space my-space
   Waiting for VPN Connection vpn-connection-name to allocate... done
   === my-space VPN Tunnels
  VPN Tunnel Customer Gateway VPN Gateway    Pre-shared Key Routable Subnets IKE Version
  ────────── ──────────────── ────────────── ────────────── ──────────────── ───────────
  Tunnel 1    104.196.121.200   35.171.237.136  abcdef12345     10.0.0.0/16       1
  Tunnel 2    104.196.121.200   52.44.7.216     fedcba54321     10.0.0.0/16       1

コードを参照: ​src/commands/spaces/vpn/wait.ts

heroku spaces:wait

領域が作成されるまで待ちます。

USAGE
  $ heroku spaces:wait [SPACE] [-s <value>] [--json] [-i <value>] [-t
    <value>]

FLAGS
  -i, --interval=<value>  [default: 30] seconds to wait between poll intervals
  -s, --space=<value>     space to get info of
  -t, --timeout=<value>   [default: 1500] maximum number of seconds to wait
      --json              output in json format

DESCRIPTION
  wait for a space to be created

コードを参照: ​src/commands/spaces/wait.ts

heroku status

Heroku プラットフォームの現在のステータスを表示します。

USAGE
  $ heroku status [--json]

FLAGS
  --json  output in json format

DESCRIPTION
  display current status of the Heroku platform

コードを参照: ​src/commands/status.ts

heroku teams

自分がメンバーになっているチームを一覧表示します。

USAGE
  $ heroku teams [--json]

FLAGS
  --json  output in json format

DESCRIPTION
  list the teams that you are a member of

  Use heroku members:* to manage team members.

コードを参照: ​src/commands/teams/index.ts

heroku telemetry

テレメトリードレインを一覧表示します。

USAGE
  $ heroku telemetry [-s <value>] [-a <value>]

FLAGS
  -a, --app=<value>    filter by app name
  -s, --space=<value>  filter by space name

DESCRIPTION
  list telemetry drains

EXAMPLES
  $ heroku telemetry

コードを参照: ​src/commands/telemetry/index.ts

heroku telemetry:add ENDPOINT

新しいテレメトリードレインを追加して設定します。特に指定がない限り、デフォルトですべてのテレメトリーが収集されます。

USAGE
  $ heroku telemetry:add ENDPOINT [-a <value>] [--headers <value>] [-s
    <value>] [--signals <value>] [--transport http|grpc]

ARGUMENTS
  ENDPOINT  drain url

FLAGS
  -a, --app=<value>         app to add a drain to
  -s, --space=<value>       space to add a drain to
      --headers=<value>     custom headers to configure the drain in json format
      --signals=<value>     [default: all] comma-delimited list of signals to
                            collect (traces, metrics, logs). Use "all" to
                            collect all signals.
      --transport=<option>  [default: http] transport protocol for the drain
                            <options: http|grpc>

DESCRIPTION
  Add and configure a new telemetry drain. Defaults to collecting all telemetry
  unless otherwise specified.

EXAMPLES
  Add a telemetry drain to an app to collect logs and traces:

    $ heroku telemetry:add https://my-endpoint.com --app myapp --signals \
      logs,traces --headers '{"x-drain-example-team": "API_KEY", \
      "x-drain-example-dataset": "METRICS_DATASET"}'

コードを参照: ​src/commands/telemetry/add.ts

heroku telemetry:info TELEMETRY_DRAIN_ID

テレメトリードレインの情報を表示します。

USAGE
  $ heroku telemetry:info TELEMETRY_DRAIN_ID

ARGUMENTS
  TELEMETRY_DRAIN_ID  ID of the drain to show info for

DESCRIPTION
  show a telemetry drain's info

EXAMPLES
  $ heroku telemetry:info 022e2e2e-2e2e-2e2e-2e2e-2e2e2e2e2e2e

コードを参照: ​src/commands/telemetry/info.ts

heroku telemetry:remove [TELEMETRY_DRAIN_ID]

テレメトリードレインを削除します。

USAGE
  $ heroku telemetry:remove [TELEMETRY_DRAIN_ID] [-a <value>] [-s <value>]

ARGUMENTS
  TELEMETRY_DRAIN_ID  ID of the drain to remove

FLAGS
  -a, --app=<value>    name of the app to remove all drains from
  -s, --space=<value>  name of the space to remove all drains from

DESCRIPTION
  remove a telemetry drain

コードを参照: ​src/commands/telemetry/remove.ts

heroku telemetry:update TELEMETRY_DRAIN_ID

提供された属性でテレメトリードレインを更新します (提供されていない属性は変更されません)

USAGE
  $ heroku telemetry:update TELEMETRY_DRAIN_ID [--endpoint <value>] [--headers
    <value>] [--signals <value>] [--transport http|grpc]

ARGUMENTS
  TELEMETRY_DRAIN_ID  ID of the drain to update

FLAGS
  --endpoint=<value>    drain url
  --headers=<value>     custom headers to configure the drain in json format
  --signals=<value>     comma-delimited list of signals to collect (traces,
                        metrics, logs). Use "all" to collect all signals.
  --transport=<option>  transport protocol for the drain
                        <options: http|grpc>

DESCRIPTION
  updates a telemetry drain with provided attributes (attributes not provided
  remain unchanged)

EXAMPLES
  $ heroku telemetry:update acde070d-8c4c-4f0d-9d8a-162843c10333 --signals logs,metrics --endpoint https://my-new-endpoint.com

コードを参照: ​src/commands/telemetry/update.ts

heroku update [CHANNEL]

Heroku CLI を更新します。

USAGE
  $ heroku update [CHANNEL] [-a] [-v <value> | -i] [--force]

FLAGS
  -a, --available        Install a specific version.
  -i, --interactive      Interactively select version to install. This is
                         ignored if a channel is provided.
  -v, --version=<value>  Install a specific version.
      --force            Force a re-download of the requested version.

DESCRIPTION
  update the heroku CLI

EXAMPLES
  Update to the stable channel:

    $ heroku update stable

  Update to a specific version:

    $ heroku update --version 1.0.0

  Interactively select version:

    $ heroku update --interactive

  See available versions:

    $ heroku update --available

コードを参照: ​@oclif/plugin-update

heroku version

USAGE
  $ heroku version [--json] [--verbose]

FLAGS
  --verbose  Show additional information about the CLI.

GLOBAL FLAGS
  --json  Format output as json.

FLAG DESCRIPTIONS
  --verbose  Show additional information about the CLI.

    Additionally shows the architecture, node version, operating system, and
    versions of plugins that the CLI is using.

コードを参照: ​@oclif/plugin-which

heroku webhooks

アプリの Webhook を一覧表示します。

USAGE
  $ heroku webhooks [-a <value>] [-r <value>]

FLAGS
  -a, --app=<value>     app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  list webhooks on an app

EXAMPLES
  $ heroku webhooks

コードを参照: ​src/commands/webhooks/index.ts

heroku webhooks:add

アプリに Webhook を追加します。

USAGE
  $ heroku webhooks:add -i <value> -l <value> -u <value> [-a <value>] [-r
    <value>] [-s <value>] [-t <value>]

FLAGS
  -a, --app=<value>            app to run command against
  -i, --include=<value>        (required) comma delimited event types your
                               server will receive
  -l, --level=<value>          (required) notify does not retry, sync will retry
                               until successful or timeout
  -r, --remote=<value>         git remote of app to use
  -s, --secret=<value>         value to sign delivery with in
                               Heroku-Webhook-Hmac-SHA256 header
  -t, --authorization=<value>  authorization header to send with webhooks
  -u, --url=<value>            (required) URL for receiver

DESCRIPTION
  add a webhook to an app

EXAMPLES
  $ heroku webhooks:add -i api:dyno -l notify -u https://example.com/hooks

コードを参照: ​src/commands/webhooks/add.ts

heroku webhooks:deliveries

アプリの Webhook 配信を一覧表示します。

USAGE
  $ heroku webhooks:deliveries [-a <value>] [-r <value>] [-s <value>]

FLAGS
  -a, --app=<value>     app to run command against
  -r, --remote=<value>  git remote of app to use
  -s, --status=<value>  filter deliveries by status

DESCRIPTION
  list webhook deliveries on an app

EXAMPLES
  $ heroku webhooks:deliveries

コードを参照: ​src/commands/webhooks/deliveries/index.ts

heroku webhooks:deliveries:info ID

アプリの Webhook イベントに関する情報。

USAGE
  $ heroku webhooks:deliveries:info ID [-a <value>] [-r <value>]

ARGUMENTS
  ID  ID of the webhook event

FLAGS
  -a, --app=<value>     app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  info for a webhook event on an app

EXAMPLES
  $ heroku webhooks:deliveries:info 99999999-9999-9999-9999-999999999999

コードを参照: ​src/commands/webhooks/deliveries/info.ts

heroku webhooks:events

アプリの Webhook イベントを一覧表示します。

USAGE
  $ heroku webhooks:events [-a <value>] [-r <value>]

FLAGS
  -a, --app=<value>     app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  list webhook events on an app

EXAMPLES
  $ heroku webhooks:events

コードを参照: ​src/commands/webhooks/events/index.ts

heroku webhooks:events:info ID

アプリの Webhook イベントに関する情報。

USAGE
  $ heroku webhooks:events:info ID [-a <value>] [-r <value>]

ARGUMENTS
  ID  ID of the webhook event

FLAGS
  -a, --app=<value>     app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  info for a webhook event on an app

EXAMPLES
  $ heroku webhooks:events:info 99999999-9999-9999-9999-999999999999

コードを参照: ​src/commands/webhooks/events/info.ts

heroku webhooks:info ID

アプリの Webhook に関する情報。

USAGE
  $ heroku webhooks:info ID [-a <value>] [-r <value>]

ARGUMENTS
  ID  ID of the webhook

FLAGS
  -a, --app=<value>     app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  info for a webhook on an app

EXAMPLES
  $ heroku webhooks:info 99999999-9999-9999-9999-999999999999

コードを参照: ​src/commands/webhooks/info.ts

heroku webhooks:remove ID

アプリから Webhook を削除します。

USAGE
  $ heroku webhooks:remove ID [-a <value>] [-r <value>]

ARGUMENTS
  ID  id of webhook to remove

FLAGS
  -a, --app=<value>     app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  removes a webhook from an app

EXAMPLES
  $ heroku webhooks:remove 99999999-9999-9999-9999-999999999999

コードを参照: ​src/commands/webhooks/remove.ts

heroku webhooks:update ID

アプリ内の Webhook を更新します。

USAGE
  $ heroku webhooks:update ID -i <value> -l <value> -u <value> [-a <value>]
    [-r <value>] [-s <value>] [-t <value>]

ARGUMENTS
  ID  ID of the webhook

FLAGS
  -a, --app=<value>            app to run command against
  -i, --include=<value>        (required) comma delimited event types your
                               server will receive
  -l, --level=<value>          (required) notify does not retry, sync will retry
                               until successful or timeout
  -r, --remote=<value>         git remote of app to use
  -s, --secret=<value>         value to sign delivery with in
                               Heroku-Webhook-Hmac-SHA256 header
  -t, --authorization=<value>  authorization header to send with webhooks
  -u, --url=<value>            (required) URL for receiver

DESCRIPTION
  updates a webhook in an app

EXAMPLES
  $ heroku webhooks:update 99999999-9999-9999-9999-999999999999 -i dyno -l notify -s 09928c40bf1b191b645174a19f7053d16a180da37332e719ef0998f4c0a2 -u https://example.com/hooks

コードを参照: ​src/commands/webhooks/update.ts

heroku which

コマンドがどのプラグインに含まれているかを表示します。

USAGE
  $ heroku which

DESCRIPTION
  Show which plugin a command is in.

EXAMPLES
  See which plugin the `help` command is in:

    $ heroku which help

コードを参照: ​@oclif/plugin-which

関連カテゴリー

  • コマンドライン
アプリのローカルでの実行 Heroku CLI のオートコンプリート

Information & Support

  • Getting Started
  • Documentation
  • Changelog
  • Compliance Center
  • Training & Education
  • Blog
  • Support Channels
  • Status

Language Reference

  • Node.js
  • Ruby
  • Java
  • PHP
  • Python
  • Go
  • Scala
  • Clojure
  • .NET

Other Resources

  • Careers
  • Elements
  • Products
  • Pricing
  • RSS
    • Dev Center Articles
    • Dev Center Changelog
    • Heroku Blog
    • Heroku News Blog
    • Heroku Engineering Blog
  • Twitter
    • Dev Center Articles
    • Dev Center Changelog
    • Heroku
    • Heroku Status
  • Github
  • LinkedIn
  • © 2025 Salesforce, Inc. All rights reserved. Various trademarks held by their respective owners. Salesforce Tower, 415 Mission Street, 3rd Floor, San Francisco, CA 94105, United States
  • heroku.com
  • Legal
  • Terms of Service
  • Privacy Information
  • Responsible Disclosure
  • Trust
  • Contact
  • Cookie Preferences
  • Your Privacy Choices