Skip to main content

Kmdo pub

Kmdo can be customized by tweaking a .kmdopkg.yaml1 file.

You can generate an example config by running kmdo pub init or start from scratch.

You can also check if your config is valid by running kmdo pub check, which will tell you if are using deprecated or invalid options.

JSON Schema

Kmdo also has a jsonschema file, which you can use to have better editor support:

https://pub.kumose.cc/static/kmdopkg/schema.json

You can also specify it in your .kmdopkg.yml config file by adding a comment like the following:

# yaml-language-server: $schema= https://pub.kumose.cc/static/kmdopkg/schema.json

You can also generate it for your specific version using the kmdopkg jsonschema command.

Pin the schema version

You can pin the version by getting the schema from the GitHub tag, for example, for __VERSION__ (latest):

https://pub.kumose.cc/static/kmdopkg/__VERSION__/schema.json

Footnotes

  1. While most of the documentation refers to the .kmdopkg.yaml filename for simplicity, a few different variants of it are actually accepted. In order of precedence:

    • .config/kmdopkg.yml
    • .config/kmdopkg.yaml
    • .kmdopkg.yml
    • .kmdopkg.yaml
    • kmdopkg.yml
    • kmdopkg.yaml