Manage aspects
$bit aspect <sub-command>
list
list all aspects configured on component(s)
$bit aspect list [pattern]
Options
Option | Option Alias | Description | Value Type |
---|---|---|---|
--debug | -d | show the origins where the aspects were taken from | boolean |
get
list the aspects set on a component, as well as their configs and data
$bit aspect get <component-name>
Options
Option | Option Alias | Description | Value Type |
---|---|---|---|
--debug | -d | show the origins where the aspects were taken from | boolean |
--json | -j | format as json | boolean |
set
set components with an aspect to extend their development tools, metadata and (possibly) artifacts
$bit aspect set <pattern> <aspect-id> [config]
Options
Option | Option Alias | Description | Value Type |
---|---|---|---|
--merge | -m | merge 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>
update
update a version of an aspect for all or specified components
$bit aspect update <aspect-id> [pattern]