Version: v3.0.x LTS
Formatting environment variables
Formatting environment variables
Transform an option into the proper format for a Zowe CLI environment variable, then define a value to the variable. Transform option names according to the following rules:
- Prefix environment variables with
ZOWE_OPT_
. - Convert lowercase letters in arguments/options to uppercase letters.
- Convert hyphens in arguments/options to underscores.
tip
Refer to your operating system documentation for information about how to set and get environment variables. The procedure varies between Windows, Mac, and various versions of Linux.