Command
Config Diff
Compares two configurations and reports what changed between them.
Usage
Full, up-to-date usage information can be found with tilegroxy config diff -h.
Output of
tilegroxy config diff -hCompares your current configuration against a new configuration,
outputting what changed and whether serve --hot-reload can apply
it without a restart. Outputs everything that gets added, removed,
or modified. The output isn't a simple line-by-line diff, instead
it's contextually aware of the tilegroxy config format, so a new
layer gets recorded as one addition.
The default output is a readable, colored text mode. Consider using
json or yaml for scripted use cases. The presence of a top-level
'restart' key indicates whether a restart is needed for CICD purposes.
Exits with a status code of 0 if the configurations match and 1 if
they differ.
Usage:
tilegroxy config diff FILE [flags]
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
|
bool |
|
help for diff |
|
bool |
|
Output the differences in JSON |
|
bool |
|
Output the differences as a markdown table with one row per change |
|
bool |
|
Turn off the colorization of the default output |
|
bool |
|
Output the differences as a table with one row per change |
|
bool |
|
Output the differences in YAML |