Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add methods for formatOptions and formatCommands in Help, with example of option help groups #2248

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

shadowspawn
Copy link
Collaborator

I am still thinking about help groups for options and commands per #1897. Still not happy I have a solid enough API to make it part of Commander.

This is a proof of concept of a refactor to make it easier for author to add their own support for help groups. Split out format of options and commands so author does not need to override whole of formatHelp. Show example of adding help groups for options in subclass.

Other help group experiments: #1908 #1910 #2176

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.

1 participant