core icon indicating copy to clipboard operation
core copied to clipboard

Config documentation

Open EddieEldridge opened this issue 6 months ago • 1 comments

Describe the feature

Where can I see the syntax for the config file?

Searching for config on the website reveals nothing, I can't find any examples on the Github, Google or from the CLI.

Relevant code


EddieEldridge avatar Jun 01 '25 20:06 EddieEldridge

Thank you for reporting this. We will add docs to the website on the config file. In the meantime, please see https://github.com/cogentcore/cogentcore.github.io/blob/main/core.toml for an example and https://github.com/cogentcore/core/blob/main/cmd/core/config/config.go for a list of all fields. You can also run core build -h to get a list of all of the fields (the TOML file fields are in CamelCase whereas the command line ones are in kebab-case, but otherwise they are the same).

kkoreilly avatar Jun 09 '25 06:06 kkoreilly