No description
- Rust 100%
| .github | ||
| src | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| LICENSE | ||
| README.md | ||
| rust-toolchain.toml | ||
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