Skip to main content

Module source

Module source 

Source
Expand description

Schema source selection shared by CLI commands.

Precedence: explicit --schema flag, [project].schema, then [project].schema_dir from midas.toml, then the default file. When both schema.toml and schema.midas exist and nothing selected one, fail instead of guessing.

Functions§

resolve
Resolve the schema source for the current working directory.
resolve_in
Resolve the schema source relative to dir.