# cycles

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

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

{/* 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 cycles` command, 7 in all.

## cycles get

Reads a cycle: its window, progress, what was added after it started, the burn-up, each person's tasks in it and free days, and its review once written.

It changes nothing.

```text
coline cycles get [flags]
```

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

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

```bash
coline cycles get -w acme --cycle-id <cycle-id>
coline cycles get -w acme --json '{"cycleId":"<cycle-id>"}' --fields id
```

## cycles list

Lists cycles the person can open: for them, their teams, projects and the whole workspace.

It changes nothing.

```text
coline cycles list [flags]
```

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

| Flag                  | What it does                                       |
| --------------------- | -------------------------------------------------- |
| `--scope-kind <text>` | One of `person`, `team`, `project`, `workspace`.   |
| `--scope-id <id>`     |                                                    |
| `--input <file>`      | Read the input as JSON from a file; - reads stdin. |

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

## cycles plan

Proposes what goes in a cycle: tasks due in it, open promises due in it, milestone tasks dated in it and what rolled over. The backlog lists the rest of the scope's open tasks by priority. Each person shows their tasks in the cycle and their free days in the window.

It changes nothing.

```text
coline cycles plan [flags]
```

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

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

```bash
coline cycles plan -w acme --cycle-id <cycle-id>
coline cycles plan -w acme --json '{"cycleId":"<cycle-id>"}' --fields id
```

## cycles start

Starts cycles for a person (the caller), a team, a project or the whole workspace (admins): a length of one to six weeks, a start day, whether the next one is made automatically and whether unfinished tasks roll over.

```text
coline cycles start [flags]
```

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

| Flag                      | What it does                                                              |
| ------------------------- | ------------------------------------------------------------------------- |
| `--scope-kind <text>`     | Required. One of `person`, `team`, `project`, `workspace`.                |
| `--scope-id <id>`         | The team or project. Not needed for a person (yourself) or the workspace. |
| `--length-weeks <number>` | Default 2.                                                                |
| `--start-day <number>`    | 0 is Sunday, 1 Monday. Default 1.                                         |
| `--auto-next`             | Default true.                                                             |
| `--roll-over`             | Default true.                                                             |
| `--input <file>`          | Read the input as JSON from a file; - reads stdin.                        |

```bash
coline cycles start -w acme --scope-kind person
coline cycles start -w acme --json '{"scopeKind":"person"}' --fields id
```

## cycles start-now

Starts a planned cycle now with whatever is in it.

```text
coline cycles start-now [flags]
```

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

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

```bash
coline cycles start-now -w acme --cycle-id <cycle-id>
coline cycles start-now -w acme --json '{"cycleId":"<cycle-id>"}' --fields id
```

## cycles tasks set

Puts tasks in a cycle or takes them out. A task is in at most one cycle per scope, so adding moves it from another cycle of the same scope.

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

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

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

```bash
coline cycles tasks set -w acme --cycle-id <cycle-id> --task-ids "…"
coline cycles tasks set -w acme --json '{"cycleId":"<cycle-id>","taskIds":"…"}' --fields id
```

## cycles update

Changes the length, start day, and whether the next cycle is made, unfinished tasks roll over and the review is posted.

```text
coline cycles update [flags]
```

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

| Flag                      | What it does                                       |
| ------------------------- | -------------------------------------------------- |
| `--cycle-id <id>`         | Required.                                          |
| `--length-weeks <number>` |                                                    |
| `--start-day <number>`    |                                                    |
| `--auto-next`             |                                                    |
| `--roll-over`             |                                                    |
| `--post-review`           |                                                    |
| `--input <file>`          | Read the input as JSON from a file; - reads stdin. |

```bash
coline cycles update -w acme --cycle-id <cycle-id>
coline cycles update -w acme --json '{"cycleId":"<cycle-id>"}' --fields id
```
