rgconf-cli 0.2.1

Command line resolver for rgconf.
rgconf-cli-0.2.1 is not a library.

rgconf

rgconf is the parameter-resolution and provenance library for the OmniPotentRPC stack. It turns layered Cap'n Proto configuration defaults, files, environment variables, command-line options, and runtime edits into one validated configuration. Every resolved value retains its origin, and configuration snapshots can be recorded in an RFC 9162 transparency log.

The project provides a Rust library, the rgconf command-line program, a C ABI, and Python bindings.

Install

Install the 0.2.1 CLI from crates.io and the matching Python binding from PyPI.

cargo install --locked rgconf-cli --version 0.2.1
python -m pip install "rgconf==0.2.1"

For a development checkout, use cargo install --locked --path crates/rgconf-cli and python -m pip install ./python from the repository root. The Rust library crate lives in crates/rgconf-core. To build the C library and install its header and pkg-config metadata:

meson setup build --buildtype=release --prefix="$HOME/.local"
meson install -C build

Quick start

Create job.ini:

[Optimizer]
converged_force = 0.03

Resolve it using the legacy EON profile:

rgconf resolve --profile eonLegacyIni --ini job.ini

The equivalent Python call is:

from rgconf import resolve_ini

resolved = resolve_ini(
    "eonLegacyIni",
    """[Optimizer]
converged_force = 0.03
""",
    "job.ini",
)
print(resolved)

Documentation

The user guide covers resolution, schema extension, deprecation, parameters, precedence, and upstream compatibility. The Rust API reference is built from the same release tag as the manual. See the changelog for release notes.

The public C interface is declared in include/rgconf.h.

License

MIT. See LICENSE.