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] Usage: json2env.exe [OPTIONS]
Options: Options:
-i, --input <FILE> Input file, defaults to STDIN if not specified -i, --input <FILE> Input file, defaults to STDIN if not specified
-o, --output <FILE> Output file, defaults to STDOUT if not specified -o, --output <FILE> Output file, defaults to STDOUT if not specified
-s, --separator <STRING> Separator for nested keys -s, --key-separator <STRING> Separator for nested keys [default: __]
-h, --help Print help -S, --array-separator <STRING> Separator for array elements [default: ,]
-V, --version Print version -e, --enumerate-array Separate array elements in multiple environment variables
-h, --help Print help
-V, --version Print version
``` ```