Skip to content

m-lamonaca/json-to-env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Contributors

Languages