Configuration

import knots_hub
import knots_hub

A simple configuration system for the Knots-hub runtime.

class knots_hub.config.HubConfig(local_install_path: Path, installer_list_path: Path | None = None, vendor_installers_config_path: Path | None = None)

Options determining how the hub must be installed.

__init__(local_install_path: Path, installer_list_path: Path | None = None, vendor_installers_config_path: Path | None = None) None
classmethod from_environment() HubConfig

Generate an instance from environment variables.

installer_list_path: Path | None = None
local_install_path: Path
vendor_installers_config_path: Path | None = None