From 98d3a3b0cb1b4242e7f067e4b517f053036c9ec5 Mon Sep 17 00:00:00 2001 From: Fyodor Ivanischev Date: Wed, 8 Apr 2026 09:48:53 -0400 Subject: [PATCH] docs: add watch and generate-commands to CLI README These commands existed in the CLI but were missing from README. Also added --all and --hooks options to the install command docs. Generated with [Devin](https://cli.devin.ai/docs) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- packages/cli/README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/packages/cli/README.md b/packages/cli/README.md index 227536c..4938b34 100644 --- a/packages/cli/README.md +++ b/packages/cli/README.md @@ -86,6 +86,25 @@ Install the `/next-task` command for detected agents (Claude Code, Cursor, Winds ```bash tasks install +tasks install --all # install for all agents, even if directories don't exist +tasks install --hooks # also install pre-commit hook for TASKS.md validation +``` + +### `tasks watch` + +Watch TASKS.md files for changes and auto-lint on save. + +```bash +tasks watch # watch current directory +tasks watch ./packages # watch a specific directory +``` + +### `tasks generate-commands` + +Regenerate agent-specific command files from the canonical source (`commands/next-task.md`). Used after editing the canonical command to propagate changes to all agent variants. + +```bash +tasks generate-commands ``` ### `tasks sync-issues`