graflag.config

Configuration management for GraFlag.

graflag.config.get_config_path(override: str | None = None) Path[source]

Resolve config file path. Checks override, then cwd .env, then standard location.

graflag.config.init_config() Path[source]

Interactively create configuration file.

class graflag.config.GraflagConfig(config_file: str = '.env')[source]

Bases: object

Handle configuration loading and validation for GraFlag.

get(key: str, default: str | None = None) str | None[source]

Get configuration value.

property remote_shared_dir: str
property manager_ip: str
property ssh_port: str
property ssh_key: str | None
property nfs_port: str
property hosts_file: str | None