CLI
Every function from the shell, and most commands take --json.
Works inCLI
Script it
Every command takes --json, and everything is available on a socket. See the API reference.
shepherd task list --json
shepherd topic tail notices --jsonprint(call(SOCK, "shepherd.call", {"op": "publish", "args": {"topic": "notices", "content": "build done", "from": "ci"}}))The same job in the three front ends
| Job | App | Terminal UI | CLI |
|---|---|---|---|
| Make a task | Tasks, new | tab 2, n | task new |
| Cancel a run | Runs, cancel | tab 3, c | cancel <task> |
| Delete one pattern run | Runs, delete | tab 7, 2, D | pattern delete-run |
| New topic and message | Events, + Topic, Send message | tab 7, n, m | topic create, topic publish |
| Compare a snapshot with now | Snapshots, Compare | t on an agent, d | snapshot diff <id> |
| New worktree | Git, + Worktree | tab 6, w | git worktree add |
| Skill off for one agent | Agents, Skills card | tab 5, c, Space | skills agent ... off |
| Link an agent to a task | Agents | tab 1, l | assign |
Was this page useful?Suggest an edit on GitHub