heroku / cli

Heroku CLI
https://devcenter.heroku.com/articles/heroku-cli
ISC License
852 stars 223 forks source link

Follow XDG standard #1248

Open FranklinYu opened 5 years ago

FranklinYu commented 5 years ago

Currently it places something at ~/.heroku. Would be great if they can be moved to $XDG_DATA_HOME/heroku.

RasPhilCo commented 5 years ago

Since v6 of the CLI we've adopted XDG standards. You likely installed your CLI long ago.

jasonkarns commented 4 years ago

Does heroku-cli no longer write the following files to XDG_CONFIG_HOME/heroku/:

$ ls .config/heroku/
autoupdate.last  autoupdate.log   cacert.pem       client/          heroku-cli*      usage/

Surely most of these are DATA or CACHE files, not CONFIG (perhaps even runtime files?). To be truly XDG compliant, the cli ought to be leveraging XDG_DATA_HOME and XDG_CACHE_HOME.

But it's possible many of these files are leftovers from prior versions?

mirsella commented 4 years ago

fresh install of heroku-cli, and heroku use ~/.netrc file to store login on my machine

jneidel commented 1 year ago

It still uses ~/.netrc on heroku/8.1.8