Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Print more apps info #211

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Print more apps info #211

wants to merge 4 commits into from

Conversation

mmowris
Copy link

@mmowris mmowris commented Dec 5, 2017

Issue: heroku/cli#493

Begun adding more info from --json to apps:info. Only begun by adding buildpacks and dyno size. Happy to take thoughts

// new
Dynos:      email-wrkr: 1 Standard-1X Dyno
            web: 2 Standard-1X Dynos 
// current
Dynos:          email-wrkr: 1, web: 2
// net new
// can add logic for custom buildpacks w/o name, ex: elixir, to create name from url
Buildpacks:     https://github.com/HashNuke/heroku-buildpack-elixir.git
                nodejs
                python

cc: @RasPhilCo @jdxcode

@@ -8,6 +8,8 @@ function * run (context, heroku) {
const util = require('util')
const S = require('string')
const countBy = require('lodash.countby')
//const filter = require('lodash.filter')
const _ = require('lodash');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this causes a big performance hit in the CLI if you require at the top of the file like this. I would rewrite it so you can use lodash functions by themselves rather than requiring everything. Unfortunately this means you won't be able to use chain though. I can give you a hand optimizing it if you like.

-H
@@ -0,0 +1 @@
{"id":"missing_version","error":"Please specify a version along with Heroku's API MIME type. For example, `Accept: application/vnd.heroku+json; version=3`.\n"}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this file shouldn't be included

@jdx
Copy link
Contributor

jdx commented Dec 6, 2017

love the new output @mmowris, let's work a bit to improve the performance of it though

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants