Closed davidallendj closed 7 months ago
This PR addresses issue #1 and updates the README.md to reflect the changes. The configurator server can be started using the serve command.
serve
./configurator serve --config config.yaml
The server will wait for requests until it is shut down. Requests can be sent using the target endpoint with query params.
target
curl http://127.0.0.1:3334/target?type=dhcp&template=dnsmasq
This request is equivalent to the following generate command ran locally:
generate
./configurator generate --config config.yaml --target dhcp:dnsmasq
This PR addresses issue #1 and updates the README.md to reflect the changes. The configurator server can be started using the
serve
command.The server will wait for requests until it is shut down. Requests can be sent using the
target
endpoint with query params.This request is equivalent to the following
generate
command ran locally: