cli: make bundled help self-describing
This commit is contained in:
@@ -23,6 +23,12 @@ func newRetryCmd(root *rootOptions) *cobra.Command {
|
||||
cmd := &cobra.Command{
|
||||
Use: "retry",
|
||||
Short: "Retry a failed task by creating a new attempt",
|
||||
Long: helpLong(
|
||||
"Use retry to create a fresh attempt and inbox thread for one failed task.",
|
||||
"If the previous attempt used a worktree, retry provisions a new worktree from the recorded workspace contract.",
|
||||
"If the previous attempt was analysis-only, retry stays analysis-only.",
|
||||
),
|
||||
Example: ` orch --db .agents/coord.db retry --run blog_mvp_001 --task T7 --to backend-worker --body "Retry after fixing the contract mismatch."`,
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
body, err := resolveBodyValue(opts.body, opts.bodyFile)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user