tctl version-next env command reference
The tctl env command allows the user to configure their tctl environment.
tctl env <command> [options] [args]
current-env
The tctl env current-env command prints the name of the current environment.
tctl env current-env <modifiers>
This command has no modifiers.
get
The tctl env get command prints the value of a given environmental property.
The command is written as follows:
tctl env get [options] [env.env_name]property_name
This command has no modifiers.
set
The tctl env set command modifies the configuration values within your environment.
Use this command to set the value of a given environmental property.
tctl env set [options] [env.env_name]property_name
This command has no modifiers.
show-env
The tctl env show-env command prints the properties of the given environment.
tctl env show-env [options] ev_name
The following modifier supports and controls the behavior of the command.
use-env
The tctl env use-env command switches the environment that tctl is operating in.
tctl env use-env [options] env_name
There are no modifiers for this command.