Skip to main content

Crate pai_config

Crate pai_config 

Source
Expand description

§PAI Startup & Configuration (Component #6)

Per PHASE1-TZ-001 Section 9 — config file parsing + CLI definitions.

Parses pai-kernel.toml, provides defaults, validates structure. CLI argument parsing uses clap (in the binary crate); this library provides the config model and loader.

Structs§

DriftConfig
KernelConfig
Top-level configuration per Section 9.1.
LoggingConfig
PolicyConfig
ServerConfig
StorageConfig

Enums§

CliCommand
CLI command enum (mirrors Section 9.2).
ConfigError

Functions§

parse_cli_args
Parse CLI arguments (simple parser, clap-compatible interface).