Add any subset of files to be tracked as a component(s).
$bit add [path...]
Copiedcopy
$bit a [path...]
Copiedcopy
Additional Notes
Learn the recommended workflow for tracking directories as components, in the link below.

Options

OptionOption AliasDescriptionValue Type
--id-imanually set component idstring
--main-mdefine component entry pointstring
--namespace-norganize component in a namespacestring
--override-ooverride existing component if exists (default = false)string
--scope-ssets the component's scope. if not entered, the default-scope from workspace.jsonc will be usedstring
--env-eset the component's environment. (overrides the env from variants if exists)string
--json-joutput as json formatboolean