cli: make bundled help self-describing

This commit is contained in:
2026-03-22 23:37:38 +08:00
parent 5859ff219e
commit 4d8c90eb26
49 changed files with 792 additions and 29 deletions
@@ -20,6 +20,12 @@ func newReadyCmd(root *rootOptions) *cobra.Command {
cmd := &cobra.Command{
Use: "ready",
Short: "List tasks that are ready for dispatch",
Long: helpLong(
"Use ready to list tasks whose dependencies are already satisfied and can be dispatched now.",
"ready is a queue-inspection command only; it does not create attempts or threads.",
),
Example: ` orch --db .agents/coord.db ready --run blog_mvp_001
orch --db .agents/coord.db ready --run blog_mvp_001 --limit 5`,
RunE: func(cmd *cobra.Command, args []string) error {
ctx := cmd.Context()