heroku / legacy-cli

Heroku CLI
https://cli.heroku.com
MIT License
1.37k stars 380 forks source link

Display warnings from the Heroku API #1823

Open fabiokung opened 8 years ago

fabiokung commented 8 years ago

The Heroku API can add warning headers to every response. The CLI should display them. Header names:

API V2

There is some code to handle v2 warning headers, but nothing for v3. I'm also not sure if the existing code works with JS plugins.

/cc @dickeyxxx

jdx commented 8 years ago

This might involve adding middleware or something to the node client. I probably won't make this change for the ruby code.

jdx commented 8 years ago

https://github.com/heroku/heroku-cli-util/pull/38