Loading...
Last updated on
The gensx env select
command sets a specific environment as the active environment for your current project. This environment will be used by default for subsequent commands like deploy
and run
.
gensx env select <name> [options]
Argument | Description |
---|---|
<name> | Name of the environment to select. |
Option | Description |
---|---|
-p, --project <name> | Project name to select the environment in. |
-h, --help | Display help for the command. |
This command:
After selecting an environment:
gensx deploy
will deploy to this environment by defaultgensx run
will run workflows in this environment by default--env
option# Select the development environment
gensx env select dev
# Select a production environment in a specific project
gensx env select production --project my-app
gensx login
)gensx env show
gensx env unselect