cli.md

 1# CLI Reference
 2
 3When MCP tools are unavailable, use `lune` CLI.
 4
 5## Showing task details
 6
 7```bash
 8lune task show ID
 9```
10
11Accepts UUID or `lunatask://` deep link. Due to encryption, name/note aren't visible—only metadata.
12
13## Updating status
14
15```bash
16lune task update ID -s STATUS
17```
18
19Valid statuses depend on the area's workflow (see `lune area list`).
20
21## Updating notes
22
23```bash
24lune task update ID -n "$(cat <<'EOF'
25Intro paragraph
26
27# Section
28
29Content
30
31---
32
33Appended content
34
35EOF
36)"
37```
38
39Notes are replaced entirely, so reproduce original content when appending.
40
41## Marking complete
42
43```bash
44lune done ID
45```