cli: make bundled help self-describing
This commit is contained in:
@@ -19,6 +19,13 @@ func newStatusCmd(root *rootOptions) *cobra.Command {
|
||||
cmd := &cobra.Command{
|
||||
Use: "status",
|
||||
Short: "Show task state summary for the run",
|
||||
Long: helpLong(
|
||||
"Use status to show the full operational view for one run.",
|
||||
"status reconciles inbox state first, then returns the run summary, aggregate task counts, the task list, and latest attempt/message context.",
|
||||
"Use status as the main leader dashboard command. Prefer it over run show when you need the latest task-level execution picture before making the next dispatch, answer, retry, or cleanup decision.",
|
||||
),
|
||||
Example: ` orch --db .agents/coord.db status --run blog_mvp_001
|
||||
orch --db .agents/coord.db --json status --run blog_mvp_001`,
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
ctx := cmd.Context()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user