Skip to content

Add bold styling to help text section titles#84

Merged
jancurn merged 3 commits intomainfrom
claude/brighten-help-captions-3HnHg
Mar 17, 2026
Merged

Add bold styling to help text section titles#84
jancurn merged 3 commits intomainfrom
claude/brighten-help-captions-3HnHg

Conversation

@jancurn
Copy link
Member

@jancurn jancurn commented Mar 17, 2026

Summary

Enhanced the CLI help text formatting by applying bold styling to section titles across the application for improved visual hierarchy and readability.

Key Changes

  • Added styleTitle configuration to the top-level program's help formatter to automatically bold all section titles using chalk.bold()
  • Updated hardcoded section titles in help text to use bold styling:
    • "MCP session commands (after connecting):" in the main help
    • "Server formats:" in the connect command help
    • "Resources:" in the remove command help
    • "sign options:" in the x402 command help
  • Applied the same styleTitle configuration to the x402 command's help formatter for consistency

Implementation Details

The changes use two complementary approaches:

  1. The styleTitle configuration option automatically applies bold styling to section titles generated by the help formatter
  2. Manual template literals with chalk.bold() are used for custom section titles in addHelpText() calls to ensure consistent styling across all help sections

This improves the visual distinction between section headers and their content, making the CLI help output more scannable and professional.

https://claude.ai/code/session_01Qu5yHzrLyAdkSiXiWRzqdt

claude and others added 3 commits March 17, 2026 09:50
Use chalk.bold() for section headers in --help output (Usage:, Options:,
Commands:, etc.) via Commander's styleTitle, and for custom addHelpText
captions (MCP session commands, Server formats, Resources, sign options).

https://claude.ai/code/session_01Qu5yHzrLyAdkSiXiWRzqdt
Use chalk.cyan via Commander's styleSubcommandText for command names in the
Commands section, and apply the same color to MCP session command names in
the custom help text. Matches the cyan used for tool names in tools-list.

https://claude.ai/code/session_01Qu5yHzrLyAdkSiXiWRzqdt
@jancurn jancurn merged commit f3f11f4 into main Mar 17, 2026
6 checks passed
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.

3 participants