Bases: PrefectBaseSettings
Settings for controlling CLI behavior
Source code in src/prefect/settings/models/cli.py
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31 | class CLISettings(PrefectBaseSettings):
"""
Settings for controlling CLI behavior
"""
model_config = _build_settings_config(("cli",))
colors: bool = Field(
default=True,
description="If True, use colors in CLI output. If `False`, output will not include colors codes.",
)
prompt: Optional[bool] = Field(
default=None,
description="If `True`, use interactive prompts in CLI commands. If `False`, no interactive prompts will be used. If `None`, the value will be dynamically determined based on the presence of an interactive-enabled terminal.",
)
wrap_lines: bool = Field(
default=True,
description="If `True`, wrap text by inserting new lines in long lines in CLI output. If `False`, output will not be wrapped.",
)
|