any2nix-cli 0.1.4

Command-line interface for translating from various formats to Nix.
Documentation

any2nix-cli

Nix Converter CLI

What is any2nix-cli?

any2nix-cli is a command-line interface (CLI) for translating text and files from various configuration formats to Nix.

GIF showcasing the program being used on the project's "rust-toolchain.toml"

Supported formats

any2nix-cli supports converting from the following formats into Nix expressions:

Installation

Install with Cargo

cargo install any2nix-cli

Install on macOS

macOS builds of any2nix-cli are available at the releases tab.

Install on Linux

Look for your favorite package manager in the list of supported repositories:

Repository status

Additionally, Linux builds are available at the releases tab.

Install on Windows

Windows builds of any2nix-cli are available at the releases tab.

Run using Docker

A docker image is available for any2nix-cli.

docker run --rm -it -v $PWD:/app ghcr.io/gbr-ufs/any2nix-cli:latest -f toml /app/rust-toolchain.toml

Agent Skill

You can install the any2nix skill into agent harnesses:

claude plugin marketplace add gbr-ufs/any2nix
claude plugin install any2nix@gbr-ufs-any2nix

Crate features

All format parsers are enabled by default. You can disable default features and enable only the formats or integrations you need:

Feature Description Default
ini Support for converting INI strings Yes
json Support for converting JSON strings Yes
toml Support for converting TOML strings Yes
yaml Support for converting YAML strings Yes

License

All code is licensed GPL 3.0 or later. The distribution workflow is based on cargo-dist and is thus licensed MIT or Apache 2.0.

Anything that is not code is CC-BY-4.0.

This software family is REUSE compliant.