tilegroxy docs
This is provided as a maybe-useful helper, not necessarily a good starting point. Consider using the Skill to help get started if you’re struggling with following the docs.

Usage

Full, up-to-date usage information can be found with tilegroxy config create -h.

Output of tilegroxy config create -h
Creates either a JSON or YAML configuration with a skeleton containing all default values.

Defaults to outputting to standard out, specify --output/-o to write to a file. Does not utilize --config/-c to avoid accidentally overwriting a configuration. If a file is specified this defaults to auto-detecting the format to use based on the file extension and ultimately defaults to YAML.

Usage:
  tilegroxy config create [flags]

Flags

Flags
Flag Type Default Description

-h, --help

bool

false

help for create

--json

bool

false

Output the configuration in JSON

--no-pretty

bool

false

Disable pretty printing JSON

-o, --output

string

Write the configuration to a file. This will overwrite anything already in the file

--yaml

bool

false

Output the configuration in YAML

Global flags

The following global flags are available for supplying your configuration:

  -c, --config string            A file path to the configuration file to use.
                                 The file should have an extension of either
                                 json or yml/yaml and be readable.
                                 (default "./tilegroxy.yml")
      --remote-endpoint string   The endpoint to use to connect to the remote
                                 provider (default "http://127.0.0.1:2379")
      --remote-path string       The path to use to select the configuration
                                 on the remote provider
                                 (default "/config/tilegroxy.yml")
      --remote-provider string   The provider to pull configuration from.
                                 One of: etcd, etcd3, consul, firestore, nats
      --remote-type string       The file format to use to parse the configuration
                                 from the remote provider (default "yaml")

Example

tilegroxy config create --json -o tilegroxy.json