Arg::hide_env_values
hide_env_values
Section titled “hide_env_values ”Do not display in help any values inside the associated ENV variables for the argument.
Example
Section titled “Example”name = "connect"[args]host = { long = "host", env = "CONNECT", action = "set", hide-env-values = true }
name: connectargs: host: long: host env: CONNECT action: set hide-env-values: true
{ "name": "connect", "args": { "host": { "long": "host", "env": "CONNECT", "action": "set", "hide-env-values": true } }}
connect --help
Output
Section titled “Output”Usage: connect [OPTIONS]
Options: --host <host> [env: CONNECT] -h, --help Print help