The following is the full example of
kosko.toml. Config files must be written in TOML. All properties are optional.
Global configs are always applied.
Require external modules.
Components to generate. It can be either a component's name or a glob pattern.
Extension names of components. You don't have to set this option. It's detected automatically from require.extensions.
Specify the base environment. You may define default or common variables in the base environment. The base environment can be used with or without
--env/e option. When
--env/-e option is set, variables in the base environment are overrided by the specified environment.
Environment configs are applied when you run
kosko generate with
--env/-e option. Environment configs are merged with global configs.
Specify the path to global environment file.
Specify the path to component environment file.