| 1 |
.TH "BST ARTIFACT" "1" "2025-05-09" "2.5" "bst artifact Manual" |
| 2 |
.SH NAME |
| 3 |
bst\-artifact \- Manipulate cached artifacts. |
| 4 |
.SH SYNOPSIS |
| 5 |
.B bst artifact |
| 6 |
[OPTIONS] COMMAND [ARGS]... |
| 7 |
.SH DESCRIPTION |
| 8 |
Manipulate cached artifacts |
| 9 |
.PP |
| 10 |
Some subcommands take artifact references as arguments. Artifacts |
| 11 |
can be specified in two ways: |
| 12 |
.PP |
| 13 |
|
| 14 |
- artifact refs: triples of the form <project name>/<element name>/<cache key> |
| 15 |
- element names |
| 16 |
.PP |
| 17 |
When elements are given, the artifact is looked up by observing the element |
| 18 |
and it's current cache key. |
| 19 |
.PP |
| 20 |
The commands also support shell-style wildcard expansion: `?` matches a |
| 21 |
single character, `*` matches zero or more characters but does not match the `/` |
| 22 |
path separator, and `**` matches zero or more characters including `/` path separators. |
| 23 |
.PP |
| 24 |
If the wildcard expression ends with `.bst`, then it will be used to search |
| 25 |
element names found in the project, otherwise, it will be used to search artifacts |
| 26 |
that are present in the local artifact cache. |
| 27 |
.PP |
| 28 |
Some example arguments are: |
| 29 |
.PP |
| 30 |
|
| 31 |
- `myproject/hello/8276376b077eda104c812e6ec2f488c7c9eea211ce572c83d734c10bf241209f` |
| 32 |
- `myproject/he*/827637*` |
| 33 |
- `core/*.bst` (all elements in the core directory) |
| 34 |
- `**.bst` (all elements) |
| 35 |
- `myproject/**` (all artifacts from myproject) |
| 36 |
- `myproject/myelement/*` (all cached artifacts for a specific element) |
| 37 |
|
| 38 |
.SH COMMANDS |
| 39 |
.PP |
| 40 |
\fBshow\fP |
| 41 |
Show the cached state of artifacts |
| 42 |
See \fBbst artifact-show(1)\fP for full documentation on the \fBshow\fP command. |
| 43 |
.PP |
| 44 |
\fBcheckout\fP |
| 45 |
Checkout contents of an artifact |
| 46 |
See \fBbst artifact-checkout(1)\fP for full documentation on the \fBcheckout\fP command. |
| 47 |
.PP |
| 48 |
\fBpull\fP |
| 49 |
Pull a built artifact |
| 50 |
See \fBbst artifact-pull(1)\fP for full documentation on the \fBpull\fP command. |
| 51 |
.PP |
| 52 |
\fBpush\fP |
| 53 |
Push a built artifact |
| 54 |
See \fBbst artifact-push(1)\fP for full documentation on the \fBpush\fP command. |
| 55 |
.PP |
| 56 |
\fBlog\fP |
| 57 |
Show logs of artifacts |
| 58 |
See \fBbst artifact-log(1)\fP for full documentation on the \fBlog\fP command. |
| 59 |
.PP |
| 60 |
\fBlist-contents\fP |
| 61 |
List the contents of an artifact |
| 62 |
See \fBbst artifact-list-contents(1)\fP for full documentation on the \fBlist-contents\fP command. |
| 63 |
.PP |
| 64 |
\fBdelete\fP |
| 65 |
Remove artifacts from the local cache |
| 66 |
See \fBbst artifact-delete(1)\fP for full documentation on the \fBdelete\fP command. |