Makefile: follow the new client API.

This commit is contained in:
Philippe Pittoli 2023-06-27 13:06:05 +02:00
parent a4ee0acf0e
commit ab64bc9bf6

View File

@ -29,9 +29,15 @@ run-client-domain-add:
run-client-domain-del:
@$(LD_P) ./bin/dnsmanager-client user domain del $(DOMAIN) $(LOGIN_OPT)
run-client-domain-list:
@$(LD_P) ./bin/dnsmanager-client user domain list $(LOGIN_OPT)
run-client-zone-add:
@$(LD_P) ./bin/dnsmanager-client user zone add $(DOMAIN).json $(LOGIN_OPT)
run-client-zone-get:
@$(LD_P) ./bin/dnsmanager-client user zone get $(DOMAIN) $(LOGIN_OPT)
RRID ?= 1
NAME ?=
TTL ?= 3600
@ -45,12 +51,6 @@ run-client-rr-update-a:
run-client-rr-del:
@$(LD_P) ./bin/dnsmanager-client user rr del $(DOMAIN) $(RRID) $(LOGIN_OPT)
run-client-zone-get:
@$(LD_P) ./bin/dnsmanager-client user zone get $(DOMAIN) $(LOGIN_OPT)
run-client-zone-list:
@$(LD_P) ./bin/dnsmanager-client user zone list $(LOGIN_OPT)
##################
### SETUP COMMANDS
##################