Manage workspace config files
$bit ws-config <sub-command>
$bit workspace-config <sub-command>
write
write config files in the workspace. useful for IDEs
$bit ws-config write
Options
Option | Option Alias | Description | Value Type |
---|---|---|---|
--clean | -c | delete existing config files from the workspace. highly recommended to run it with "--dry-run" first | boolean |
--writers | -w | only write config files for the given writers. use comma to separate multiple writers. use ws-config list to see all writers | string |
--silent | -s | do not prompt for confirmation | boolean |
--no-dedupe | - | write configs inside each one of the component's dir, avoid deduping | boolean |
--dry-run | - | show the paths that configs will be written per env | boolean |
--dry-run-with-content | - | use with --json flag. show the config content and the paths that will be written per env | boolean |
--verbose | -v | showing verbose output for writing | boolean |
--json | -j | json format | boolean |
clean
clean (delete) written config files in the workspace. useful for IDEs
$bit ws-config clean
Options
Option | Option Alias | Description | Value Type |
---|---|---|---|
--silent | -s | do not prompt for confirmation | boolean |
--writers | -w | only clean config files for the given writers. use comma to separate multiple writers. use ws-config list to see all writers | string |
--dry-run | - | show the paths of configs that will be cleaned | boolean |
--json | -j | json format | boolean |
list
list config writers
$bit ws-config list
Options
Option | Option Alias | Description | Value Type |
---|---|---|---|
--json | -j | json format | boolean |