CLI Reference
/
ws-config
Manage workspace config files
$bit ws-config <sub-command>
Copiedcopy
$bit workspace-config <sub-command>
Copiedcopy

write

write config files in the workspace. useful for IDEs

$bit ws-config write
Copiedcopy

Options

OptionOption AliasDescriptionValue Type
--clean-cdelete existing config files from the workspace. highly recommended to run it with "--dry-run" firstboolean
--writers-wonly write config files for the given writers. use comma to separate multiple writers. use ws-config list to see all writersstring
--silent-sdo not prompt for confirmationboolean
--no-dedupe-write configs inside each one of the component's dir, avoid dedupingboolean
--dry-run-show the paths that configs will be written per envboolean
--dry-run-with-content-use with --json flag. show the config content and the paths that will be written per envboolean
--verbose-vshowing verbose output for writingboolean
--json-jjson formatboolean

clean

clean (delete) written config files in the workspace. useful for IDEs

$bit ws-config clean
Copiedcopy

Options

OptionOption AliasDescriptionValue Type
--silent-sdo not prompt for confirmationboolean
--writers-wonly clean config files for the given writers. use comma to separate multiple writers. use ws-config list to see all writersstring
--dry-run-show the paths of configs that will be cleanedboolean
--json-jjson formatboolean

list

list config writers

$bit ws-config list
Copiedcopy

Options

OptionOption AliasDescriptionValue Type
--json-jjson formatboolean