Skip to content

Add extendedDiscussion to CommandConfiguration#894

Open
realrajaryan wants to merge 5 commits intoapple:mainfrom
realrajaryan:extended-discussion-field
Open

Add extendedDiscussion to CommandConfiguration#894
realrajaryan wants to merge 5 commits intoapple:mainfrom
realrajaryan:extended-discussion-field

Conversation

@realrajaryan
Copy link
Copy Markdown
Member

Resolves #159.

Adds an extendedDiscussion property to CommandConfiguration that renders after the argument, option, and subcommand sections in help output.

This gives command authors a place to put supplementary information i.e. usage examples, notes etc.

Checklist

  • I've added at least one test that validates that my change is working, if appropriate
  • I've followed the code style of the rest of the project
  • I've read the Contribution Guidelines
  • I've updated the documentation if necessary

@rauhul
Copy link
Copy Markdown
Collaborator

rauhul commented Apr 30, 2026

Can you add an extended discussion to one of the example tools so we can see how the generated content changes?

@realrajaryan
Copy link
Copy Markdown
Member Author

Can you add an extended discussion to one of the example tools so we can see how the generated content changes?

added it to the math example

@realrajaryan realrajaryan force-pushed the extended-discussion-field branch from 0e08479 to a0b879f Compare April 30, 2026 19:30
*Show help information.*


Examples:
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

does it make sense for this to be below the options for the markdown generator? I think before or after could make sense, wdyt?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

oh ye, I'll move it after the subcommands to match the CLI help layout

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.

Allow configuration discussion to be moved to end

2 participants