Open
Description
What would you like to be added
On Linux, Step CLI should follow the XDG Base Directory specification for storing data (essentially, use $XDG_CONFIG_HOME/step
rather than ~/.step
by default).
I am aware you can specify a custom path with $STEPPATH
, but the XDG spec is a standard that has predictable locations for users without further configuration. $STEPPATH
should probably still override it if set though.
Why this is needed
This reduces clutter in the user's home directory and gives them more flexibility in deciding where and how to store their data.
If backwards-compatibility is an issue, I'd suggest using ~/.step
if that location exists, and otherwise using the above.