# pal cli project

Source: https://pal.konvert7.com/docs/cli/project

Manage PAL project state (ISA.md backed)

```bash title="Usage"
pal cli project <command>
```

## pal cli project list [#pal-cli-project-list]

Show all registered projects

```bash title="Usage"
pal cli project list
```

## pal cli project create [#pal-cli-project-create]

Register a project

```bash title="Usage"
pal cli project create [name] [options]
```

| Option | What it does |
| --- | --- |
| `--path <path>` | Where the project lives (default: cwd) |
| `--name <name>` | Slug, instead of [name] (default: the path's basename) |
| `--objectives <a;b>` | Goal lines, split on ';', '\|' or newlines |
| `--serves <goal\|revenue\|fun>` | What the project is for |
| `--serves-note <text>` | Why, in a few words |

## pal cli project serves [#pal-cli-project-serves]

Say what it is for — outranks PAL's guess

```bash title="Usage"
pal cli project serves <name> <goal|revenue|fun> [note...]
```

## pal cli project resume [#pal-cli-project-resume]

Print lean project view (open-ISC titles; full text via show-isc)

```bash title="Usage"
pal cli project resume <name>
```

## pal cli project complete [#pal-cli-project-complete]

Mark complete

```bash title="Usage"
pal cli project complete <name>
```

## pal cli project archive [#pal-cli-project-archive]

Mark archived

```bash title="Usage"
pal cli project archive <name>
```

## pal cli project pause [#pal-cli-project-pause]

Mark paused

```bash title="Usage"
pal cli project pause <name>
```

## pal cli project unpause [#pal-cli-project-unpause]

Mark active again

```bash title="Usage"
pal cli project unpause <name>
```

## pal cli project set-path [#pal-cli-project-set-path]

Update the registered path

```bash title="Usage"
pal cli project set-path <name> <path...>
```

## pal cli project unset-path [#pal-cli-project-unset-path]

Remove this machine's binding, even one whose project is gone

```bash title="Usage"
pal cli project unset-path <name>
```

## pal cli project add-next [#pal-cli-project-add-next]

Append next step

```bash title="Usage"
pal cli project add-next <name> <text...>
```

## pal cli project add-blocker [#pal-cli-project-add-blocker]

Append blocker

```bash title="Usage"
pal cli project add-blocker <name> <text...>
```

## pal cli project add-decision [#pal-cli-project-add-decision]

Log a dated decision entry

```bash title="Usage"
pal cli project add-decision <name> <decision> <rationale...>
```

## pal cli project rm-next [#pal-cli-project-rm-next]

Remove next step by index

```bash title="Usage"
pal cli project rm-next <name> <index>
```

## pal cli project rm-blocker [#pal-cli-project-rm-blocker]

Remove blocker by index

```bash title="Usage"
pal cli project rm-blocker <name> <index>
```

## pal cli project update-section [#pal-cli-project-update-section]

Set an ISA body section

```bash title="Usage"
pal cli project update-section <name> <section> <content...>
```

Sections: problem, goal, criteria, vision, constraints, out_of_scope, context, decisions, changelog

## pal cli project criteria [#pal-cli-project-criteria]

Print the Criteria section

```bash title="Usage"
pal cli project criteria <name>
```

## pal cli project add-isc [#pal-cli-project-add-isc]

Append a new open ISC to Criteria

```bash title="Usage"
pal cli project add-isc <name> <title...>
```

## pal cli project complete-isc [#pal-cli-project-complete-isc]

Mark ISC-N as done

```bash title="Usage"
pal cli project complete-isc <name> <id>
```

## pal cli project reopen-isc [#pal-cli-project-reopen-isc]

Reopen ISC-N (mark not done)

```bash title="Usage"
pal cli project reopen-isc <name> <id>
```

## pal cli project list-isc [#pal-cli-project-list-isc]

List open ISCs (default), or the closed or retired ones

```bash title="Usage"
pal cli project list-isc <name> [options]
```

| Option | What it does |
| --- | --- |
| `--all` | Open, done and retired |
| `--closed` | Done only |
| `--retired` | Retired only |

## pal cli project show-isc [#pal-cli-project-show-isc]

Print one ISC's full text

```bash title="Usage"
pal cli project show-isc <name> <id>
```

## pal cli project edit-isc [#pal-cli-project-edit-isc]

Rewrite ISC-N's text, keeping its id and state

```bash title="Usage"
pal cli project edit-isc <name> <id> <text...>
```

## pal cli project retire-isc [#pal-cli-project-retire-isc]

Close ISC-N as no longer valid, not as done

```bash title="Usage"
pal cli project retire-isc <name> <id> [options]
```

| Option | What it does |
| --- | --- |
| `--by <id>` | The ISC that supersedes it |

## pal cli project prune-isc [#pal-cli-project-prune-isc]

Archive done ISCs from Criteria into the Changelog

```bash title="Usage"
pal cli project prune-isc <name>
```

## pal cli project bindings [#pal-cli-project-bindings]

This machine's project bindings, kept as events in bronze

```bash title="Usage"
pal cli project bindings <command>
```

A binding says where a project lives on this machine. pal cli project set-path `<name>` `<path>` and unset-path `<name>` bind and unbind one. Every change is recorded in the event log, so bindings.json itself is not edited by hand.

### pal cli project bindings list [#pal-cli-project-bindings-list]

List each binding, whether its folder exists, and how the file differs from its history

```bash title="Usage"
pal cli project bindings list
```

### pal cli project bindings adopt [#pal-cli-project-bindings-adopt]

Record the file as it is into the history (the file wins)

```bash title="Usage"
pal cli project bindings adopt
```

### pal cli project bindings rebuild [#pal-cli-project-bindings-rebuild]

Rewrite the file from the history (the history wins)

```bash title="Usage"
pal cli project bindings rebuild
```

## pal cli project isa-init [#pal-cli-project-isa-init]

Mark project as ISA-initialized

```bash title="Usage"
pal cli project isa-init <name>
```

## pal cli project scaffold-task-isa [#pal-cli-project-scaffold-task-isa]

Create a one-shot task ISA in work/tasks/

```bash title="Usage"
pal cli project scaffold-task-isa <title...>
```

## pal cli project complete-task-isa [#pal-cli-project-complete-task-isa]

Mark a task ISA as complete

```bash title="Usage"
pal cli project complete-task-isa <slug>
```

## pal cli project migrate [#pal-cli-project-migrate]

Migrate old JSON progress files → ISA.md

```bash title="Usage"
pal cli project migrate
```

## pal cli project rm [#pal-cli-project-rm]

Delete the entire project

```bash title="Usage"
pal cli project rm <name>
```