No description
Find a file
2026-05-20 11:33:18 +02:00
.github initial commit 2026-05-20 11:33:18 +02:00
src initial commit 2026-05-20 11:33:18 +02:00
.gitignore initial commit 2026-05-20 11:33:18 +02:00
Cargo.lock initial commit 2026-05-20 11:33:18 +02:00
Cargo.toml initial commit 2026-05-20 11:33:18 +02:00
LICENSE initial commit 2026-05-20 11:33:18 +02:00
README.md initial commit 2026-05-20 11:33:18 +02:00
rust-toolchain.toml initial commit 2026-05-20 11:33:18 +02:00

json2env

Convert valid JSON to environment variables

Usage

JSON to Env Var converter

Usage: json2env.exe [OPTIONS]

Options:
  -s, --key-separator <STRING>    Separator for nested keys [default: __]
  -S, --array-separator <STRING>  Separator for array elements [default: ,]
  -e, --enumerate-array           Separate array elements in multiple environment variables
  -h, --help                      Print help
  -V, --version                   Print version

Installation

You can either install the tool with cargo:

cargo install --path <path/to/repo>

or build the executable with (output in target/release):

cargo build --release