GithubHelp home page GithubHelp logo

hyperoslo / heroku-billing Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 0.0 186 KB

Generates a billing overview including dyno and add-on costs per application.

License: MIT License

JavaScript 99.57% Batchfile 0.43%

heroku-billing's Introduction

Heroku Billing

Version License

Generates a billing overview including dyno and add-on costs per application.

Supported Node versions: 8 or higher

Licensed under the MIT license, see LICENSE for more information.

Heroku Billing

Installation

This is a Heroku client plugin and requires the Heroku CLI to be installed.

Install heroku-billing as a plugin from npm:

heroku plugins:install @hyperoslo/heroku-billing

Usage

Scope

By default, the generated billing overview includes all applications.

heroku billing

Personal applications only:

heroku billing --personal

Team applications only:

heroku billing --team hyperoslo

A single application:

heroku billing -a hyper-rocks
heroku billing -r production

Filter applications matching given pattern:

heroku billing --pattern foobar

Inactive dynos & shared add-ons

Inactive dynos โ€“ fully scaled down processes โ€“ are not included in the overview by default as they generate a lot of clutter.

To include all inactive dynos, shown in gray:

heroku billing --include-inactive-dynos

Add-ons shared between applications are always shown in gray.

Formats

By default, the generated billing overview uses Heroku's human-readable table format.

Generate the billing overview in JSON format:

heroku billing --json

Generate the billing overview in CSV format:

heroku billing --csv

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create pull request

Credits

Hyper made this. We're a digital communications agency with a passion for good code, and if you're using this plugin we probably want to hire you.

heroku-billing's People

Contributors

timkurvers avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

heroku-billing's Issues

README images

Placeholder issues for images used in the README.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.