CLI Reference
/
artifacts
List and download component artifacts
$bit artifacts <component-pattern>
Copiedcopy
Additional Notes
artifacts are created on isolated capsules during tag or snap commands. example of artifacts are dists files generated by a compiler, a JUnit.xml file generated by a tester and a package.tgz file generated by pkg aspect.

Arguments

ArgumentDescriptionRequired
component-patterncomponent name, component id, or component pattern. use component pattern to select multiple components. wrap the pattern with quotes. use comma to separate patterns and "!" to exclude. e.g. "ui/**, !ui/button". use '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'. use `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern.

Options

OptionOption AliasDescriptionValue Type
--aspect-show/download only artifacts generated by this aspect-idstring
--task-show/download only artifacts generated by this task-idstring
--files-show/download only artifacts matching the given files or the glob pattern (wrap glob patterns in quotes)string
--out-dir-download the files to the specified dirstring