cli.md

When MCP tools are unavailable, use lune CLI. Destructive actions are interactive unless supplied --force.

Try lune directly first—it integrates with the system keyring. Only fall back to the resolving-secrets skill if the user isn't using keyring-based credential storage.

Creating tasks

lune task add "Title" -a AREA_KEY -n "$(cat <<'EOF'
Intro paragraph

# Section

Content

EOF
)"

<task_add_flags> -a --area Area key (required) -s --status Status (workflow-dependent) -n --note Task note (use - for stdin) -g --goal Goal key </task_add_flags>

Output includes the task ID.

Updating notes

lune task update ID -n "$(cat <<'EOF'
Intro paragraph

# Section

Content

---

Appended content

EOF
)"

Notes are replaced entirely, so reproduce original content when appending.

Listing

lune area list
lune goal list -a projects # goals in area 'projects'