# mt flip

`mt flip <status> <refs…>` sets a status, dated today, on one or more tasks, so you don’t type the date yourself. Each status in the [status legend](https://mlavrinenko.github.io/mindtape/statuses/index.md), the project’s list of allowed statuses, is also a command, so `mt done x` is `mt flip done x`. The legend sets which changes `mt flip` allows and which need a note. Only `mt flip` and its status commands run [`[[on.flip]]` hooks](https://mlavrinenko.github.io/mindtape/hooks/index.md).

Change the status of tasks: `mt flip done <task>...`

Each status also works as a command of its own, so `mt done 1b 2c` is `mt flip done 1b 2c`. Those commands aren't listed here, so run `mt flip --list` to see them. When some tasks fail, mt still changes the rest and reports the failures.

Runs on one project and refuses a [set](https://mlavrinenko.github.io/mindtape/read-many-projects/index.md).

- `[STATUS]`: The new status, one of those your project defines
- `[TASKS]…`: The tasks to change, each by stem, hash or path
  `repeatable`
- `-m, --note <NOTE>`: A note on the new status
  Without it, mt clears the old status's note.
- `--list`: List your project's statuses, each usable as a command, and exit
- `--force`: Allow a status change your project's rules or checks would refuse
  It allows a change your project's rules forbid, and one a failing `[[on.flip]]` check would block. The status note records a skipped check.
- `-q, --quiet`: Don't print what `[[on.flip]]` hooks show
  A failing check still prints.
- `--hyperlinks <WHEN>`: When to make the `slug#` and `file` columns clickable links
  Defaults to `[ls] hyperlinks`, which is `never` unless your project changes it.
  - `auto`: Links when the output is a terminal and `TERM` isn't `dumb`. Some terminals show the link codes as garbage
  - `always`: Always print links
  - `never`: Never print links

```sh
mt flip done reject-expired-sessions-on-token-refresh document-the-webhook-retry-policy -m "shipped in v1.9.0" --force   # batch, with a note, waiving the failing test gate
mt flip wip add-redis-client --quiet   # no [[on.flip]] show or list output
```

```
$ mt done reject-expired-sessions-on-token-refresh
flipped reject-expired-sessions-on-token-refresh (Reject expired sessions on token refresh): wip → done
```

```
$ mt flip --list
per-status shortcut verbs (`mt <status> <task>...` == `mt flip <status> <task>...`):
  proposed
  wip
  done
```

Every command also takes the [global flags](https://mlavrinenko.github.io/mindtape/cli/index.md#global-flags).
