merton.cli.commands.config

merton config — inspect and modify the persisted configuration.

Attributes

Functions

show(→ None)

Print the resolved configuration (defaults → file → env).

set_(, value)

Persist key = value into the user config file.

reset(→ None)

Remove the user config file (revert to defaults + env vars).

Module Contents

merton.cli.commands.config.app[source]
merton.cli.commands.config.console[source]
merton.cli.commands.config.show() None[source]

Print the resolved configuration (defaults → file → env).

merton.cli.commands.config.set_(key: str = typer.Argument(..., help='Setting name (e.g. backend, default_horizon).'), value: str = typer.Argument(..., help='New value (parsed as TOML literal).')) None[source]

Persist key = value into the user config file.

merton.cli.commands.config.reset() None[source]

Remove the user config file (revert to defaults + env vars).