Skip to content

constants

Class info

🛈 DocStrings

complete_config_names

complete_config_names() -> list[str]

Complete stored config names.

Source code in src/llmling/cli/constants.py
def complete_config_names() -> list[str]:
    """Complete stored config names."""
    return [name for name, _ in config_store.list_configs()]

complete_output_formats

complete_output_formats() -> list[str]

Complete output format options.

Source code in src/llmling/cli/constants.py
def complete_output_formats() -> list[str]:
    """Complete output format options."""
    return ["text", "json", "yaml"]

verbose_callback

verbose_callback(ctx: Context, _param: CallbackParam, value: bool) -> bool

Handle verbose flag.

Source code in src/llmling/cli/constants.py
def verbose_callback(ctx: t.Context, _param: t.CallbackParam, value: bool) -> bool:
    """Handle verbose flag."""
    if value:
        setup_logging(level=logging.DEBUG)
    return value