Skip to content

Render underscores as hyphens in CLI option names - #921

Merged
jph00 merged 1 commit into
mainfrom
pr/render-underscores-as-hyphens-in-cli-option-names
Aug 26, 2026
Merged

Render underscores as hyphens in CLI option names#921
jph00 merged 1 commit into
mainfrom
pr/render-underscores-as-hyphens-in-cli-option-names

Conversation

@jph00

@jph00 jph00 commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

fastcore.script now renders underscores in optional Python parameter names as hyphens in generated long flags, while preserving positional names and Python parameter names.

The “Short flags” documentation describes the convention, with lesson checks covering ordinary and negated boolean flags.

@jph00 jph00 added the enhancement New feature or request label Aug 26, 2026
@jph00
jph00 merged commit 5b383ac into main Aug 26, 2026
@jph00
jph00 deleted the pr/render-underscores-as-hyphens-in-cli-option-names branch August 26, 2026 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant