Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove need for passing the config file as a cli argument #15

Closed
jmeaster30 opened this issue Nov 27, 2024 · 1 comment
Closed

Remove need for passing the config file as a cli argument #15

jmeaster30 opened this issue Nov 27, 2024 · 1 comment
Labels
Improvement Not a bug but a problem that needs improving

Comments

@jmeaster30
Copy link
Owner

I would like to have it so the config file is searched for at certain paths in a specific priority.

Then, if it cant find a config file, we generate the file with the current default config yaml.

Order to check the paths should be:

  1. ./dns.config.yaml
  2. ~/.config/simpledns/dns.config.yaml
  3. /etc/simpledns/dns.config.yaml

Default path should be ~/.config/simpledns/dns.config.yaml

@jmeaster30 jmeaster30 added the New Thing New feature or request label Nov 27, 2024
@witchofthewires
Copy link
Collaborator

#16 has been submitted to resolve

@jmeaster30 jmeaster30 added Improvement Not a bug but a problem that needs improving and removed New Thing New feature or request labels Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Improvement Not a bug but a problem that needs improving
Projects
None yet
Development

No branches or pull requests

2 participants