andreas-stuerz / opn-cli

CLI for OPNsense Firewall using API Requests
BSD 2-Clause "Simplified" License
45 stars 8 forks source link

XDG_CONFIG_HOME Support #49

Closed ProfessorManhattan closed 8 months ago

ProfessorManhattan commented 9 months ago

Can you add support for XDG_CONFIG_HOME? Ideally, I'd like to store the configuration at ~/.config/opn-cli/config.yml if the XDG_CONFIG_HOME variable is set.

andreas-stuerz commented 8 months ago

Hi ProfessorManhattan,

thanks for the feedback.

XDG_CONFIG_HOME is coming in the next days.

andreas-stuerz commented 8 months ago

added in https://github.com/andeman/opn-cli/pull/50