Objective
Replace the two unformatted sub-step bullet lines in pkg/cli/trial_confirmation.go with console.FormatListItemStderr (or a new FormatSubItemStderr helper) to match the formatting style used by surrounding steps.
Context
Identified in Terminal Stylist analysis: discussion #43520. Lines 182–183 and 199–200 in trial_confirmation.go use fmt.Fprintf(os.Stderr, " a./b. ...") sub-bullets. The surrounding step lines already use console.FormatInfoMessage, so these two callsites are visually inconsistent.
Implementation Plan
Files to Modify
pkg/cli/trial_confirmation.go lines 182–183, 199–200
Approach
- Review how the surrounding step lines format output (likely using
console.FormatInfoMessage or similar).
- Replace
fmt.Fprintf(os.Stderr, " a./b. ...") callsites with console.FormatListItemStderr with an appropriate indent, OR add a thin FormatSubItemStderr helper to pkg/console/ if needed.
- If a new helper is warranted, add it to
pkg/console/console.go (or a suitable file in that package) following the existing pattern of other format helpers.
- Run
make build and existing tests.
Notes
- Blank-line spacers (
fmt.Fprintln(os.Stderr, "") at lines 220–222) should be left as-is.
- Match the visual indentation/prefix used by the surrounding step output for a cohesive look.
Acceptance Criteria
Generated by 📋 Plan Command · 25.5 AIC · ⌖ 8.2 AIC · ⊞ 4.9K · ◷
Comment /plan to run again
Objective
Replace the two unformatted sub-step bullet lines in
pkg/cli/trial_confirmation.gowithconsole.FormatListItemStderr(or a newFormatSubItemStderrhelper) to match the formatting style used by surrounding steps.Context
Identified in Terminal Stylist analysis: discussion #43520. Lines 182–183 and 199–200 in
trial_confirmation.gousefmt.Fprintf(os.Stderr, " a./b. ...")sub-bullets. The surrounding step lines already useconsole.FormatInfoMessage, so these two callsites are visually inconsistent.Implementation Plan
Files to Modify
pkg/cli/trial_confirmation.golines 182–183, 199–200Approach
console.FormatInfoMessageor similar).fmt.Fprintf(os.Stderr, " a./b. ...")callsites withconsole.FormatListItemStderrwith an appropriate indent, OR add a thinFormatSubItemStderrhelper topkg/console/if needed.pkg/console/console.go(or a suitable file in that package) following the existing pattern of other format helpers.make buildand existing tests.Notes
fmt.Fprintln(os.Stderr, "")at lines 220–222) should be left as-is.Acceptance Criteria
fmt.Fprintf(os.Stderr, ...)console.FormatInfoMessagesteps