Skip to content

rodxavier/heroku-cli

 
 

Repository files navigation

Heroku CLI

Heroku logo

CircleCI CircleCI Snap Status npm ISC License

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.

The standard oclif ./bin/run script serves as your entry point to the CLI in your local development environment.

Testing

Run all tests with lerna run test.

Run one test, in this case plugin-certs-v5, with lerna run --scope @heroku-cli/plugin-certs-v5 test.

Debugging

Using WebStorm (from Jetbrains / IntelliJ), you can run/debug an individual test case.

  • Create a new run/debug configuration
  • Select the 'Mocha' type
  • Set the working directory to the directory of the package you are using. (i.e. ~/Heroku/Repos/cli/packages/certs-v5)

Releasing

See the Heroku CLI Release Steps.

Review our PR guidelines.

Packages

No packages published

Languages

  • JavaScript 70.8%
  • TypeScript 28.2%
  • Shell 0.9%
  • Ruby 0.1%
  • Batchfile 0.0%
  • Dockerfile 0.0%