Skip to content

feat: add optionTypeText for custom help type labels#8

Open
danielsharvey wants to merge 2 commits intodrizzle-team:mainfrom
danielsharvey:feature/option-type-text
Open

feat: add optionTypeText for custom help type labels#8
danielsharvey wants to merge 2 commits intodrizzle-team:mainfrom
danielsharvey:feature/option-type-text

Conversation

@danielsharvey
Copy link
Copy Markdown

Add .optionTypeText() on the option builder so help can show a short label instead of the default (e.g. full enum lists). getOptionTypeText uses the override when set, otherwise keeps existing behavior.

Document in README; exercise in type tests for the dialect option.

Add .optionTypeText() on the option builder so help can show a short
label instead of the default (e.g. full enum lists). getOptionTypeText
uses the override when set, otherwise keeps existing behavior.

Document in README; exercise in type tests for the dialect option.
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