# mt init

Create `.mindtape/config.toml` in the current directory

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

- `-p, --preset <NAME|PATH>`: The preset to start from, by name or path
  It's a built-in name, one you saved with `mt preset save`, or a path to a config file or preset directory.
- `--annotate`: Keep the preset's explanatory comments in the config
- `--list-presets`: List the built-in presets and exit
- `--force`: Overwrite an existing `.mindtape/config.toml`
- `--no-input`: Don't ask anything
  mt writes the default preset, or builds the config from the answers you pass as flags.
- `--workflow <WORKFLOW>`: Answer the workflow question up front: which statuses tasks go through
  - `todo-done`: todo and done, any move allowed
  - `flow`: proposed, wip, blocked, done, cancelled, with fixed moves
  - `gated`: made for agents, with a review step before done
  - `personal`: inbox, next, waiting, someday
- `--priority <PRIORITY>`: Answer the priority question up front: how the config ranks tasks
  - `off`: a plain number
  - `bands`: low, normal or high
  - `ice`: an ICE score, or a plain number
  - `ice-strict`: an ICE score on every open task, no plain numbers
- `--organization <ORGANIZATION>`: Answer the folders question up front: whether folders become tags
  - `flat`: all in one tasks/ folder
  - `folders`: in folders under tasks/, each folder a tag
- `--estimate <ESTIMATE>`: Answer the estimate question up front: which units an estimate may use
  - `off`: any unit you like
  - `days-hours`: days and hours only
- `--required <REQUIRED>`: Answer the required-fields question up front: what open tasks must have
  - `none`: nothing extra
  - `difficulty`: a difficulty rating
- `--headers <HEADERS>`: Answer the sections question up front: which sections a body must have
  - `off`: none, write the body any way you like
  - `spec`: Summary, Acceptance criteria, Non-goals and Files
- `--recurrence <RECURRENCE>`: Answer the recurrence question up front: how you write repeating tasks
  - `off`: with every(...) only
  - `rrule`: with every(...) or rrule("FREQ=...")
- `--schema <URL|PATH|local>`: Where the config's `#:schema` line points
  It takes a URL, a path relative to the config, or `local` for the copy `mt install` writes. Defaults to the published URL, which works for anyone who clones the repo.
- `--no-schema`: Leave out the `#:schema` line

```sh
mt init --list-presets            # the built-in preset names
mt init --preset flow --annotate  # a named preset, with the reasoning comments kept
```

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