# argus project migrate

> Talos next · Since next

Report, apply or undo upgrading a project to this engine

## Usage

```sh
argus project migrate [OPTIONS] <PROJECT>
```

## Arguments

| Argument | Description |
|---|---|
| `<PROJECT>` | The project folder, or its argus.project.json |

## Options

| Flag | Value | Default | Allowed values | Description |
|---|---|---|---|---|
| `--dry-run` |  |  |  | Report what an upgrade would change; write nothing |
| `--apply` |  |  |  | Upgrade the project, keeping a backup of every file it writes |
| `--restore` |  |  |  | Put the newest migration's backup back |
| `--backup` | `<ID>` |  |  | With --restore: the backup to put back (its folder name under .argus/migrations) |
| `--allow-dirty` |  |  |  | With --apply: go ahead even when a file it writes has uncommitted changes in git |
| `--force` |  |  |  | With --restore: restore over files changed since the migration (their current bytes are backed up first) |
| `--json` |  |  |  | Print the report or the result as JSON instead of text |

## Example

```sh
argus project migrate <PROJECT>
```
