List all components maintained by the workspace and their corresponding envs
$bit envs
$bit env
list
list all envs currently used in the workspace
$bit envs list
get
show config information from a component's env
$bit envs get <component-name>
Options
Option | Option Alias | Description | Value Type |
---|---|---|---|
--services | - | show information about the specific services only. for multiple services, separate by a comma and wrap with quotes | string |
set
Assigns one or more components a development environment (env)
$bit envs set <component-pattern> <env>
unset
un-sets an env from components that were previously set by "bit env set" or by a component template
$bit envs unset <component-pattern>
replace
replace an existing env with another env for all components using the old env
$bit envs replace <current-env> <new-env>
update
update a version of an env for all components using that env
$bit envs update [env-id] [pattern]