dnstapir / pop

DNS TAPIR Policy Processor
BSD 2-Clause "Simplified" License
1 stars 1 forks source link

Make it possible to run tapir-cli without config files #64

Closed eest closed 2 weeks ago

eest commented 2 months ago

Trying to create a dawg file locally fails like so:

./tapir-cli dawg compile --format csv --src top10milliondomains.csv
Error reading config '/etc/dnstapir/tapir-pop.yaml': open /etc/dnstapir/tapir-pop.yaml: no such file or directory
Error reading config '/etc/dnstapir/tapir-cli.yaml': open /etc/dnstapir/tapir-cli.yaml: no such file or directory
2024/09/20 11:01:40 Error: missing config key: cli.tapir-pop.url

I feel that config files should only be needed when performing actions that require the contents of the files.

johanix commented 2 weeks ago

"tapir-cli ... --standalone" implemented.