Skip to content

tutanck/cli

Repository files navigation

Heroku CLI

Heroku logo

Greenkeeper badge Circle CI Build status CircleCI Snap Status ISC License homebrew npm

The Heroku CLI is used to manage Heroku apps from the command line. It is built using oclif.

For more about Heroku see https://www.heroku.com/home

To get started see https://devcenter.heroku.com/start

Overview

This is the next generation Node-based Heroku CLI. The goals of this project were to make plugins more flexible, remove Ruby as a runtime dependency, and make the CLI faster.

It has identical functionality to the old Ruby CLI. Under the hood, it is a modular CLI made up of node.js plugins.

For more on developing plugins, read Developing CLI Plugins

Issues

For problems directly related to the CLI, add an issue on GitHub.

For other issues, submit a support ticket.

Contributors

Command Topics

if DYNO is not specified, restarts all dynos on app

Examples:

$ heroku ps:restart web.1
Restarting web.1 dyno... done

$ heroku ps:restart web
Restarting web dynos... done

$ heroku ps:restart
Restarting dynos... done
  • heroku features - disables an app feature

  • heroku git - manage local git repository for app

  • heroku help - display help for <%= config.bin %>

  • heroku keys - add an SSH key for a user if no KEY is specified, will try to find ~/.ssh/id_rsa.pub

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

Example:

$ heroku pipelines:add example -a example-admin -s production
Adding example-admin to example pipeline as production... done

Example:

$ heroku releases
=== example Releases
v1 Config add FOO_BAR [email protected] 2015/11/17 17:37:41 (~ 1h ago)
v2 Config add BAR_BAZ [email protected] 2015/11/17 17:37:41 (~ 1h ago)
v3 Config add BAZ_QUX [email protected] 2015/11/17 17:37:41 (~ 1h ago)

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 66.4%
  • TypeScript 32.6%
  • Shell 0.9%
  • Ruby 0.1%
  • Dockerfile 0.0%
  • Procfile 0.0%