1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00

fix: update syntax for commands

for example:
`$ octodns-sync --config-file=./config/production.yaml` was throwing an error. Then, when i did `$ octodns-dump`, it prompted me to put it in this format: `$ octodns-sync --config-file CONFIG_FILE` (without the = sign)
This commit is contained in:
Ella
2021-06-16 00:32:43 -07:00
committed by GitHub
parent 0867d98731
commit a31fa189c1

View File

@@ -122,7 +122,7 @@ Further information can be found in [Records Documentation](/docs/records.md).
We're ready to do a dry-run with our new setup to see what changes it would make. Since we're pretending here we'll act like there are no existing records for `example.com.` in our accounts on either provider.
```shell
$ octodns-sync --config-file=./config/production.yaml
$ octodns-sync --config-file ./config/production.yaml
...
********************************************************************************
* example.com.
@@ -146,7 +146,7 @@ There will be other logging information presented on the screen, but successful
Now it's time to tell OctoDNS to make things happen. We'll invoke it again with the same options and add a `--doit` on the end to tell it this time we actually want it to try and make the specified changes.
```shell
$ octodns-sync --config-file=./config/production.yaml --doit
$ octodns-sync --config-file ./config/production.yaml --doit
...
```
@@ -177,7 +177,7 @@ If that goes smoothly, you again see the expected changes, and verify them with
Very few situations will involve starting with a blank slate which is why there's tooling built in to pull existing data out of providers into a matching config file.
```shell
$ octodns-dump --config-file=config/production.yaml --output-dir=tmp/ example.com. route53
$ octodns-dump --config-file ./config/production.yaml --output-dir tmp/ example.com. route53
2017-03-15T13:33:34 INFO Manager __init__: config_file=tmp/production.yaml
2017-03-15T13:33:34 INFO Manager dump: zone=example.com., sources=('route53',)
2017-03-15T13:33:36 INFO Route53Provider[route53] populate: found 64 records