ionic-cli
ionic-cli copied to clipboard
Use xdg compliant directories when available
This PR makes the CLI use the standard config directory as per xdg spec when XDG_CONFIG_HOME is set.
As to not break existing installations, this behavior is overridden if ~/.ionic already exists and will fall back to the previous behavior.