heroku / heroku-apps

Heroku Core CLI Plugin for managing Heroku apps
https://cli.heroku.com
ISC License
19 stars 26 forks source link

Flag `-x` doesn't return extended information #210

Open raulb opened 6 years ago

raulb commented 6 years ago

(it only does it using sudo)

It shows the header, but not its content.

e.g.:

› heroku apps:info -a sausages -x
=== sausages
Addons:         heroku-postgresql:hobby-dev
Auto Cert Mgmt: false
Dynos:          web: 1
Git URL:        https://git.heroku.com/sausages.git
Owner:          heroku-devex@herokumanager.com
Pipeline:       sausages - production
Region:         us
Repo Size:      26 KB
Slug Size:      17 MB
Stack:          cedar-14
Web URL:        https://sausages.herokuapp.com/

--- Extended Information ---
jdx commented 6 years ago

this is expected behavior—the extended flag is hidden for this reason and the API only returns the extended information if it is under sudo

raulb commented 6 years ago

@jdxcode maybe hide the header then? I think it's confusing if we show the header, but not its content. That makes it look like a bug.

jdx commented 6 years ago

yeah we could hide the header. I'll leave this issue open, but realistically I don't see us working on it as it's a minor cosmetic issue that only affects Herokai