dnscontrol/commands
Tom Limoncelli 35d47d86e7
get-zones "js" format should generate petty DSP variable (#1630)
* Improve get-zones "js" format.

New:

```
$ dnscontrol get-zone --format js providercredkey - stackoverflow.co.il
var DSP_PROVIDERCREDKEY = NewDnsProvider("providercredkey");
var REG_CHANGEME = NewRegistrar("none");
D("stackoverflow.co.il", REG_CHANGEME,
	DnsProvider(DSP_PROVIDERCREDKEY),
	DefaultTTL(14400),
	A('www', '165.160.15.20'),
	...
	...
	...
	...
	//NAMESERVER('dns1.cscdns.net.'),
	//NAMESERVER('dns2.cscdns.net.')
)
```

* Update test data
2022-07-19 11:21:37 -04:00
..
test_data get-zones "js" format should generate petty DSP variable (#1630) 2022-07-19 11:21:37 -04:00
commands.go MAINT: Refactor GetDNSConfig (#1466) 2022-03-27 18:00:13 -04:00
createDomains.go NEW FEATURE: Add deprecation notice to create-domains command (#1529) 2022-06-08 15:18:26 -04:00
fmt.go Linting (#1087) 2021-03-08 20:14:30 -05:00
getCerts.go Refactor: Move creds.json processing out of InitializeProviders (#1495) 2022-05-04 11:02:36 -04:00
getZones.go get-zones "js" format should generate petty DSP variable (#1630) 2022-07-19 11:21:37 -04:00
gz_test.go wrap more errors 2021-02-01 07:33:56 -05:00
previewPush.go Create non-existing zones while push or print warning while preview (#1528) 2022-06-08 14:53:16 -04:00
previewPush_test.go NEW FEATURE: Moving provider TYPE from dnsconfig.js to creds.json (#1500) 2022-05-08 14:23:45 -04:00
printIR.go Security: Fix many staticcheck warnings 2021-12-14 09:47:32 -05:00
r53_test.go "Target" RecordConfig should not be exported (#1061) 2021-03-04 18:58:23 -05:00