Manage aspects
$bit aspect <sub-command>
Copiedcopy

list

list all aspects configured on component(s)

$bit aspect list [pattern]
Copiedcopy

Options

OptionOption AliasDescriptionValue Type
--debug-dshow the origins where the aspects were taken fromboolean

get

list the aspects set on a component, as well as their configs and data

$bit aspect get <component-name>
Copiedcopy

Options

OptionOption AliasDescriptionValue Type
--debug-dshow the origins where the aspects were taken fromboolean
--json-jformat as jsonboolean

set

set components with an aspect to extend their development tools, metadata and (possibly) artifacts

$bit aspect set <pattern> <aspect-id> [config]
Copiedcopy

Options

OptionOption AliasDescriptionValue Type
--merge-mmerge with an existing config if exits. (by default, it replaces overlapping existing configs)boolean

unset

unset an aspect from component(s).

$bit aspect unset <pattern> <aspect-id>
Copiedcopy

update

update a version of an aspect for all or specified components

$bit aspect update <aspect-id> [pattern]
Copiedcopy