yera set

Use yera set to write settings and select the active profile. A project can override shared values in its local pyproject.toml where the command supports --project.

Choose a project's active credential group with yera cred use-group.

Write settings and choose active profiles or credential groups.

yera set setting

Write a setting value to yera.toml or pyproject.toml.

yera set setting SETTING_NAME VALUE [--project]

Arguments

SETTING_NAME
type: str (required)

Settings field name: one of check_for_updates, enable_telemetry, log_level, max_retries, timeout_seconds.

VALUE
type: str (required)

Literal value to store (e.g. a number, true/false, or text). For log_level, use a standard logging level name such as DEBUG or INFO.

Options

--project
type: bool = False

If true, write under pyproject.toml [tool.yera]; otherwise write under yera.toml [settings].

yera set profile

Set the active Yera profile.

yera set profile PROFILE_NAME [--project]

Arguments

PROFILE_NAME
type: str (required)

Yera profile name to set as active.

Options

--project
type: bool = False

If true, write the project-level profile override in pyproject.toml [tool.yera.profiles]; otherwise write [profiles] default in yera.toml.