config

See also: config guide

mio config

Command group for config

When run without arguments, displays current config from all sources

mio config [OPTIONS] COMMAND [ARGS]...

global

Command group for global configuration directory

When run without arguments, displays contents of current global config

mio config global [OPTIONS] COMMAND [ARGS]...

path

Location of the global mio config

mio config global path [OPTIONS]

list

Display the available configs in the user config directory and provided by mio.

By default, results are truncated for narrow consoles - models within mio.models are displayed with only a leading ., and paths of builtin configs are shown relative to the package config directory

mio config list [OPTIONS]

Options

-v, --verbose

Display more verbose output -v: Display full model identifiers and config paths

user

Command group for the user config directory

When invoked without arguments, displays the contents of the current user directory

mio config user [OPTIONS] COMMAND [ARGS]...

create

Create a user directory, setting it as the default in the global config

Args:

user_dir (Path): Path to the directory to create force (bool): Overwrite existing config file if it exists

mio config user create [OPTIONS] [USER_DIR]

Options

--force, --no-force

Overwrite existing config file if it exists

--clean, --dirty

Create a fresh mio_config.yaml file containing only the user_dir. Otherwise, by default (–dirty), any other settings from .env, pyproject.toml, etc.are included in the created user config file.

--dry-run, --no-dry-run

Show the config that would be written and where it would go without doing anything

Arguments

USER_DIR

Optional argument

path

Location of the current user config

mio config user path [OPTIONS]