Show the review-type picker in scout --configure · Entire

Show the review-type picker in scout --configure

39ef305→main·

dipree·1mo ago·1 file·+4 added/-2 removed

--configure defaulted the profile name to general before calling the guided setup, which skipped the 'what kind of review?' type step. Pass the raw --profile value (empty when not given) so the type picker runs unless the user explicitly named a profile.

Sessions

911881c2a73aView transcript

[?
List me all the potential command combinations for review.Pi·Opus 4.8·11 steps](/content/gh/entireio/cli/session/019e9fb5-004d-7145-8f48-db6a240d0ab3#timeline-911881c2a73a/index.html)

Changes

1

264 unmodified lines

265
266
267
268
268
269
270
271
270
272
273
274
275

264 unmodified lines

}

// Interactive path: the guided wizard already lists the agents, so don't
    // duplicate the catalog here.
    // duplicate the catalog here. Pass the raw --profile value (empty when not
    // given) so the guided setup runs the "what kind of review?" type picker
    // instead of being silently defaulted to the general profile.
    if interactive.IsTerminalWriter(out) && interactive.CanPromptInteractively() {
        name, profile, setupErr := RunReviewGuidedSetup(ctx, out, installed, deps.ReviewerFor, profileName, false)
        name, profile, setupErr := RunReviewGuidedSetup(ctx, out, installed, deps.ReviewerFor, strings.TrimSpace(profileOverride), false)
        if setupErr != nil {
            return handlePickerError(cmd, silentErr, setupErr)
        }

Mcmd/entire/cli/review/cmd.go+4/-2