# `once artifact export`

Build an artifact capability and export a self-contained content-addressed package.

## Synopsis

```text
once artifact export [OPTIONS] <TARGET>
```

## Arguments

| Argument | Required | Description |
| --- | --- | --- |
| `<TARGET>` | yes |  |

## Options

| Flag | Value | Default | Description |
| --- | --- | --- | --- |
| `--output` | `<OUTPUT>` |  | Parent directory for immutable packages. Defaults to .once/artifacts. |
| `--sandbox` | `<SANDBOX>` | `off` |  |
| `--config` | `<KEY=VALUE>` |  |  |
