/cli

Heroku CLI

Primary LanguageJavaScriptISC LicenseISC

Heroku CLI

Heroku logo

Circle CI Build status CircleCI Snap Status ISC License 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

Developing

This project is built with lerna. The core plugins are located in ./packages. Run lerna bootstrap after cloning the repository to set it up.

Releasing

  1. Checkout the master branch and double-check you're on latest commit that you would like to release from.
  2. Ensure your current working directory is clean.
  3. Run lerna bootstrap to ensure that all dependencies and are installed and linked.
  4. Make sure you are logged in with the correct user by running: npm whoami.
  5. Run lerna publish. It will create a CHANGELOG from the pending commits using Conventional Commits, and also take care of bumping packages, tagging and pushing the commit. Upon the git tag being pushed a series of CI release jobs will start.
  6. Monitor CircleCI, Appveyor and Snapcraft jobs to ensure that all the builds are successful.

Review our PR guidelines.