Skip to content

docs: clarify configure show command help#928

Open
Montana wants to merge 2 commits into
docker:mainfrom
Montana:patch-2
Open

docs: clarify configure show command help#928
Montana wants to merge 2 commits into
docker:mainfrom
Montana:patch-2

Conversation

@Montana
Copy link
Copy Markdown

@Montana Montana commented May 21, 2026

Update the configure show command description to explain that it displays the effective runtime configuration stored for one model or all models.

Update the configure show command description to explain that it displays the effective runtime configuration stored for one model or all models.
Copy link
Copy Markdown
Contributor

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've left some high level feedback:

  • Switching json.MarshalIndent from a two-space indent (" ") to a single space (" ") will change the JSON output format; confirm this is intentional and, if so, align any other related commands for consistency.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- Switching `json.MarshalIndent` from a two-space indent (`"  "`) to a single space (`" "`) will change the JSON output format; confirm this is intentional and, if so, align any other related commands for consistency.

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the show command's descriptions and formatting in the CLI. A review comment identifies an accidental reduction in JSON indentation from two spaces to one, which reduces output readability, and suggests reverting it to maintain consistency and user empathy.

Comment thread cmd/cli/commands/configure_show.go Outdated
}
jsonResult, err := json.MarshalIndent(configs, "", " ")

jsonResult, err := json.MarshalIndent(configs, "", " ")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

The JSON indentation has been reduced from two spaces to one space. This makes the command output harder to read and appears to be an accidental change as it is not mentioned in the PR description. Reverting to two spaces ensures the output remains user-friendly and consistent with standard formatting.

Suggested change
jsonResult, err := json.MarshalIndent(configs, "", " ")
jsonResult, err := json.MarshalIndent(configs, "", " ")
References
  1. User empathy — How does this affect the people who use, operate, and maintain this system? Consider developer ergonomics, operational burden, error messages, failure modes, and the debugging experience. (link)

@ericcurtin
Copy link
Copy Markdown
Contributor

@Montana is the bot comment worth addressing

@Montana
Copy link
Copy Markdown
Author

Montana commented May 21, 2026

@Montana is the bot comment worth addressing

Hey @ericcurtin,

I've addressed it. I appreciate it @ericcurtin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants