product:select
Select the active product in the workspace.
Usage
splent product:select <product_name>
Example
splent product:select sample_splent_app
Description
This command sets the active product used by the SPLENT CLI.
It updates the workspace .env file with:
SPLENT_APP=<product_name>
Once selected, all commands that operate on a product (features, environment, containers, etc.) will use this product by default.
Options
--shell
Instead of modifying the environment directly, prints the shell commands needed to export the variables. This is useful when integrating with shell prompts or scripts.
Example:
splent product:select sample_splent_app --shell
Requirements
- The product directory must exist in
/workspace.