# noust upload

Give Noust the code of an application as an archive.

```bash
noust upload [OPTIONS] COMMAND [ARGS]...
```

Subcommands: [`add`](#noust-upload-add), [`list`](#noust-upload-list), [`prune`](#noust-upload-prune), [`remove`](#noust-upload-remove)

## noust upload add

Extract an archive of a project and print the source that names it.

```bash
noust upload add [OPTIONS] ARCHIVE
```

Arguments: `archive`

| Option | What it does | Default |
|---|---|---|
| `--dockerfile` | The file is a Dockerfile, not an archive (- reads it from standard input): a project of that one file, with nothing for COPY to read. |  |
| `--json` | Print the upload as JSON. |  |
| `--reason` | Why this change is made (a change reference, a ticket). Recorded with the command in the audit log; required only where a compliance framework asks for it (ENS) or security.change_reasons is on. |  |

## noust upload list

Show the archives that were uploaded, newest first, and which ones an application uses.

```bash
noust upload list [OPTIONS]
```

| Option | What it does | Default |
|---|---|---|
| `--json` | Print the uploads as JSON. |  |
| `--reason` | Why this change is made (a change reference, a ticket). Recorded with the command in the audit log; required only where a compliance framework asks for it (ENS) or security.change_reasons is on. |  |

## noust upload prune

Remove unfinished uploads and the ones no application used for a week.

```bash
noust upload prune [OPTIONS]
```

| Option | What it does | Default |
|---|---|---|
| `--reason` | Why this change is made (a change reference, a ticket). Recorded with the command in the audit log; required only where a compliance framework asks for it (ENS) or security.change_reasons is on. |  |

## noust upload remove

Delete an upload that no application deploys from.

```bash
noust upload remove [OPTIONS] ID
```

Arguments: `upload_id`

| Option | What it does | Default |
|---|---|---|
| `--reason` | Why this change is made (a change reference, a ticket). Recorded with the command in the audit log; required only where a compliance framework asks for it (ENS) or security.change_reasons is on. |  |

