I'm working on CLI tool written in python.
There should be default config directory. Very similar to nginx approach:
conf_root |__main.conf |__projects |__project1.conf |__project2.conf |__another_project.conf
I'm looking for a conventionally practices to store config CLI config files.
Package root seems to be a bad idea. I'm thinking about
/etc/package_name but not sure if it's right and how correctly to work with permissions if I need to create new folder at
/etc and copy default config files?
I going to use
pip as an installation tool. (
pip install package_name)