config-forge 0.1.0

A CLI tool for converting, inspecting, and validating configuration files.
Documentation

ConfigForge

ConfigForge is a Rust CLI tool for converting, inspecting, and validating configuration files.

The first implementation milestone supports conversion between:

  • JSON
  • TOML
  • YAML

Install

cargo install config-forge

Usage

config-forge --help
config-forge inspect Cargo.toml
config-forge convert app.toml -o app.yaml
config-forge convert app.yaml --to json

Planned commands:

config-forge validate config.yaml
config-forge merge base.yaml override.yaml -o merged.yaml
config-forge diff old.toml new.toml

When writing converted content to stdout, pass --to so the output format is explicit:

config-forge convert app.toml --to json

Publishing

Before publishing:

cargo publish -p config-forge --dry-run

Publishing from GitHub Actions requires the CARGO_REGISTRY_TOKEN repository secret.

Tag format for CI publishing:

git tag config-forge-v0.1.0
git push github config-forge-v0.1.0