update usage instructions

This commit is contained in:
Marcello 2024-11-10 10:50:52 +01:00
parent beed1f613d
commit f25c8f31fd
Signed by: m-lamonaca
SSH key fingerprint: SHA256:8db8uii6Gweq7TbKixFBioW2T8CbgtyFETyYL3cr3zk

View file

@ -10,9 +10,11 @@ JSON to Env Var converter
Usage: json2env.exe [OPTIONS]
Options:
-i, --input <FILE> Input file, defaults to STDIN if not specified
-o, --output <FILE> Output file, defaults to STDOUT if not specified
-s, --separator <STRING> Separator for nested keys
-h, --help Print help
-V, --version Print version
-i, --input <FILE> Input file, defaults to STDIN if not specified
-o, --output <FILE> Output file, defaults to STDOUT if not specified
-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
```