# projects

> Every coline projects command, with its flags and the action it runs.

Source: https://docs.coline.app/cli/reference/projects

{/* Generated by apps/docs/scripts/cli-reference.ts from coline's command tree and the cli action catalog. Don't edit it: run `pnpm --filter @colineapp/docs cli:reference`. */}

Every `coline projects` command, 15 in all.

## projects create

Makes a project: an outcome with its boards, people and crew. In a team workspace it can make a channel for it.

```text
coline projects create [flags]
```

**Action** `projects.create` · **Effect** write · **Can wait for your approval** no · **Scope** `taskboards.write` · **Workspace** yes, `-w`

| Flag                   | What it does                                                            |
| ---------------------- | ----------------------------------------------------------------------- |
| `--name <text>`        | Required.                                                               |
| `--outcome <text>`     | The outcome in one line.                                                |
| `--state <text>`       | One of `planned`, `active`, `paused`, `done`, `cancelled`.              |
| `--lead-user-id <id>`  |                                                                         |
| `--start-date <text>`  |                                                                         |
| `--target-date <text>` |                                                                         |
| `--board-ids <list>`   |                                                                         |
| `--people-ids <list>`  |                                                                         |
| `--crew-ids <list>`    |                                                                         |
| `--make-channel`       | Make a channel for it, with the project as a tab. Team workspaces only. |
| `--input <file>`       | Read the input as JSON from a file; - reads stdin.                      |

```bash
coline projects create -w acme --name "…"
coline projects create -w acme --json '{"name":"…"}' --fields id
```

## projects delete

Moves a project to the trash, where it can be restored. Its tasks stay on their boards.

It removes or overwrites something, so it runs only with --confirm.

```text
coline projects delete [flags]
```

**Action** `projects.delete` · **Effect** destructive, runs only with `--confirm` · **Can wait for your approval** no · **Scope** `taskboards.write` · **Workspace** yes, `-w`

| Flag                | What it does                                       |
| ------------------- | -------------------------------------------------- |
| `--project-id <id>` | Required.                                          |
| `--input <file>`    | Read the input as JSON from a file; - reads stdin. |

```bash
coline projects delete -w acme --project-id <project-id> --confirm
coline projects delete -w acme --json '{"projectId":"<project-id>"}' --fields id --confirm
```

## projects get

Reads a project: its outcome, people, places, milestones, progress, date range and latest update.

It changes nothing.

```text
coline projects get [flags]
```

**Action** `projects.get` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `taskboards.read` · **Workspace** yes, `-w`

| Flag                | What it does                                       |
| ------------------- | -------------------------------------------------- |
| `--project-id <id>` | Required.                                          |
| `--input <file>`    | Read the input as JSON from a file; - reads stdin. |

```bash
coline projects get -w acme --project-id <project-id>
coline projects get -w acme --json '{"projectId":"<project-id>"}' --fields id
```

## projects import-linear

For a board imported from Linear before projects existed: builds its projects, milestones and cycles from the snapshots the import stored.

```text
coline projects import-linear [flags]
```

**Action** `projects.importLinear` · **Effect** write · **Can wait for your approval** no · **Scope** `taskboards.write` · **Workspace** yes, `-w`

| Flag                  | What it does                                       |
| --------------------- | -------------------------------------------------- |
| `--taskboard-id <id>` | Required.                                          |
| `--input <file>`      | Read the input as JSON from a file; - reads stdin. |

```bash
coline projects import-linear -w acme --taskboard-id <taskboard-id>
coline projects import-linear -w acme --json '{"taskboardId":"<taskboard-id>"}' --fields id
```

## projects list

Lists the projects the person can open, with their state, progress, target date and likely finish range.

It changes nothing.

```text
coline projects list [flags]
```

**Action** `projects.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `taskboards.read` · **Workspace** yes, `-w`

| Flag             | What it does                                       |
| ---------------- | -------------------------------------------------- |
| `--input <file>` | Read the input as JSON from a file; - reads stdin. |

```bash
coline projects list -w acme
coline projects list -w acme --json '{}' --fields id
```

## projects members set

Adds a person or crew member to a project, or removes them with role null.

```text
coline projects members set [flags]
```

**Action** `projects.members.set` · **Effect** write · **Can wait for your approval** no · **Scope** `taskboards.write` · **Workspace** yes, `-w`

| Flag                | What it does                                       |
| ------------------- | -------------------------------------------------- |
| `--project-id <id>` | Required.                                          |
| `--user-id <id>`    | Required.                                          |
| `--role <text>`     | Required. One of `person`, `crew`.                 |
| `--input <file>`    | Read the input as JSON from a file; - reads stdin. |

```bash
coline projects members set -w acme --project-id <project-id> --user-id <user-id> --role person
coline projects members set -w acme --json '{"projectId":"<project-id>","userId":"<user-id>","role":"person"}' --fields id
```

## projects milestones delete

Removes a milestone. Its tasks stay in the project.

It removes or overwrites something, so it runs only with --confirm.

```text
coline projects milestones delete [flags]
```

**Action** `projects.milestones.delete` · **Effect** destructive, runs only with `--confirm` · **Can wait for your approval** no · **Scope** `taskboards.write` · **Workspace** yes, `-w`

| Flag                  | What it does                                       |
| --------------------- | -------------------------------------------------- |
| `--project-id <id>`   | Required.                                          |
| `--milestone-id <id>` | Required.                                          |
| `--input <file>`      | Read the input as JSON from a file; - reads stdin. |

```bash
coline projects milestones delete -w acme --project-id <project-id> --milestone-id <milestone-id> --confirm
coline projects milestones delete -w acme --json '{"projectId":"<project-id>","milestoneId":"<milestone-id>"}' --fields id --confirm
```

## projects milestones save

Adds a milestone to a project (without milestoneId) or changes one.

```text
coline projects milestones save [flags]
```

**Action** `projects.milestones.save` · **Effect** write · **Can wait for your approval** no · **Scope** `taskboards.write` · **Workspace** yes, `-w`

| Flag                    | What it does                                       |
| ----------------------- | -------------------------------------------------- |
| `--project-id <id>`     | Required.                                          |
| `--milestone-id <id>`   |                                                    |
| `--name <text>`         |                                                    |
| `--target-date <text>`  |                                                    |
| `--sort-order <number>` |                                                    |
| `--input <file>`        | Read the input as JSON from a file; - reads stdin. |

```bash
coline projects milestones save -w acme --project-id <project-id>
coline projects milestones save -w acme --json '{"projectId":"<project-id>"}' --fields id
```

## projects places add

Links a board, channel, doc, sheet, note, folder, file, repository, mail address or link to a project. Nothing is copied.

```text
coline projects places add [flags]
```

**Action** `projects.places.add` · **Effect** write · **Can wait for your approval** no · **Scope** `taskboards.write` · **Workspace** yes, `-w`

| Flag                | What it does                                                                                                         |
| ------------------- | -------------------------------------------------------------------------------------------------------------------- |
| `--project-id <id>` | Required.                                                                                                            |
| `--kind <text>`     | Required. One of `board`, `channel`, `doc`, `sheet`, `note`, `folder`, `file`, `repository`, `mail_address`, `link`. |
| `--ref-id <id>`     | Required.                                                                                                            |
| `--label <text>`    | Required.                                                                                                            |
| `--href <text>`     |                                                                                                                      |
| `--input <file>`    | Read the input as JSON from a file; - reads stdin.                                                                   |

```bash
coline projects places add -w acme --project-id <project-id> --kind board --ref-id <ref-id> --label "…"
coline projects places add -w acme --json '{"projectId":"<project-id>","kind":"board","refId":"<ref-id>","label":"…"}' --fields id
```

## projects places remove

Removes a linked place from a project. The place itself is untouched.

It removes or overwrites something, so it runs only with --confirm.

```text
coline projects places remove [flags]
```

**Action** `projects.places.remove` · **Effect** destructive, runs only with `--confirm` · **Can wait for your approval** no · **Scope** `taskboards.write` · **Workspace** yes, `-w`

| Flag                | What it does                                       |
| ------------------- | -------------------------------------------------- |
| `--project-id <id>` | Required.                                          |
| `--place-id <id>`   | Required.                                          |
| `--input <file>`    | Read the input as JSON from a file; - reads stdin. |

```bash
coline projects places remove -w acme --project-id <project-id> --place-id <place-id> --confirm
coline projects places remove -w acme --json '{"projectId":"<project-id>","placeId":"<place-id>"}' --fields id --confirm
```

## projects tasks set

Puts tasks in a project (optionally at a milestone) or takes them out. A task can be in several projects.

```text
coline projects tasks set [flags]
```

**Action** `projects.tasks.set` · **Effect** write · **Can wait for your approval** no · **Scope** `taskboards.write` · **Workspace** yes, `-w`

| Flag                  | What it does                                       |
| --------------------- | -------------------------------------------------- |
| `--project-id <id>`   | Required.                                          |
| `--task-ids <list>`   | Required.                                          |
| `--action <text>`     | Default add. One of `add`, `remove`.               |
| `--milestone-id <id>` |                                                    |
| `--input <file>`      | Read the input as JSON from a file; - reads stdin. |

```bash
coline projects tasks set -w acme --project-id <project-id> --task-ids "…"
coline projects tasks set -w acme --json '{"projectId":"<project-id>","taskIds":"…"}' --fields id
```

## projects update

Changes a project's name, outcome, state, lead, dates or whether its weekly update posts to its channel.

```text
coline projects update [flags]
```

**Action** `projects.update` · **Effect** write · **Can wait for your approval** no · **Scope** `taskboards.write` · **Workspace** yes, `-w`

| Flag                        | What it does                                               |
| --------------------------- | ---------------------------------------------------------- |
| `--project-id <id>`         | Required.                                                  |
| `--name <text>`             |                                                            |
| `--outcome <text>`          | The outcome in one line.                                   |
| `--state <text>`            | One of `planned`, `active`, `paused`, `done`, `cancelled`. |
| `--lead-user-id <id>`       |                                                            |
| `--start-date <text>`       |                                                            |
| `--target-date <text>`      |                                                            |
| `--post-updates-to-channel` |                                                            |
| `--input <file>`            | Read the input as JSON from a file; - reads stdin.         |

```bash
coline projects update -w acme --project-id <project-id>
coline projects update -w acme --json '{"projectId":"<project-id>"}' --fields id
```

## projects updates list

Lists a project's weekly updates, newest first, each line with the facts behind it.

It changes nothing.

```text
coline projects updates list [flags]
```

**Action** `projects.updates.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `taskboards.read` · **Workspace** yes, `-w`

| Flag                | What it does                                       |
| ------------------- | -------------------------------------------------- |
| `--project-id <id>` | Required.                                          |
| `--limit <number>`  | Default 10.                                        |
| `--input <file>`    | Read the input as JSON from a file; - reads stdin. |

```bash
coline projects updates list -w acme --project-id <project-id>
coline projects updates list -w acme --json '{"projectId":"<project-id>"}' --fields id
```

## projects updates refresh

Asks Kairo for a fresh update now, from the last seven days' facts. It is written in the background.

```text
coline projects updates refresh [flags]
```

**Action** `projects.updates.refresh` · **Effect** write · **Can wait for your approval** no · **Scope** `taskboards.write` · **Workspace** yes, `-w`

| Flag                | What it does                                       |
| ------------------- | -------------------------------------------------- |
| `--project-id <id>` | Required.                                          |
| `--input <file>`    | Read the input as JSON from a file; - reads stdin. |

```bash
coline projects updates refresh -w acme --project-id <project-id>
coline projects updates refresh -w acme --json '{"projectId":"<project-id>"}' --fields id
```

## projects updates save

Writes a project update by hand (one line per line of text), or edits one with updateId. Edited updates say who edited them.

```text
coline projects updates save [flags]
```

**Action** `projects.updates.save` · **Effect** write · **Can wait for your approval** no · **Scope** `taskboards.write` · **Workspace** yes, `-w`

| Flag                | What it does                                       |
| ------------------- | -------------------------------------------------- |
| `--project-id <id>` | Required.                                          |
| `--update-id <id>`  |                                                    |
| `--text <text>`     | Required.                                          |
| `--input <file>`    | Read the input as JSON from a file; - reads stdin. |

```bash
coline projects updates save -w acme --project-id <project-id> --text "…"
coline projects updates save -w acme --json '{"projectId":"<project-id>","text":"…"}' --fields id
```
