gotify / cli

A command line interface for pushing messages to gotify/server.
MIT License
441 stars 57 forks source link

Update config location to use XDG standard #31

Closed StewartThomson closed 4 years ago

StewartThomson commented 4 years ago

The CLI should place its configuration file according to the XDG Specification.

See here for more details on the XDG Specification: https://wiki.archlinux.org/index.php/XDG_Base_Directory

If we're okay with the dependency, https://github.com/adrg/xdg looks good & robust for handling this cross-platform.

Let me know if you're interested, and I'll get to work on it.

jmattheis commented 4 years ago

This would be ok, as long as old config paths will still be supported.