Validate
Check the configuration file for errors.
Verifies the file exists, is valid YAML, and contains a valid zone name.
Usage
goGenerateCFToken config validateExamples
Validate the default config file
goGenerateCFToken config validateValidate a specific config file
goGenerateCFToken config validate --config ./my-config.yamlCommand Options
| Flag | Short | Default | Type | Description |
|---|---|---|---|---|
--account-id |
"" | string | Cloudflare account ID stored as the generate default | |
--token-name |
"" | string | Default token name stored as the generate default |
Global Options
| Flag | Short | Default | Type | Description |
|---|---|---|---|---|
--config |
-c |
"" | string | Path to config file |
--log-level |
-l |
info | string | Set logging level (debug, info, warn, error) |
--quiet |
-q |
false | bool | Suppress all output except errors |
--verbose |
-v |
false | bool | Enable verbose output |