Skip to content

Print primitive default values in cli --help output#6109

Open
leemhenson wants to merge 1 commit intoEffect-TS:mainfrom
leemhenson:print-primitive-default-values-in-help
Open

Print primitive default values in cli --help output#6109
leemhenson wants to merge 1 commit intoEffect-TS:mainfrom
leemhenson:print-primitive-default-values-in-help

Conversation

@leemhenson
Copy link
Contributor

@leemhenson leemhenson commented Mar 6, 2026

Type

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update

Description

Amends the behavior of --help to print out the default value when it's a primitive value not wrapped in an Option. For example:

This setting is optional. Defaults to: 42

Related

@changeset-bot
Copy link

changeset-bot bot commented Mar 6, 2026

🦋 Changeset detected

Latest commit: 81f8157

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@effect/cli Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@leemhenson leemhenson force-pushed the print-primitive-default-values-in-help branch from 78ad904 to 81f8157 Compare March 6, 2026 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Discussion Ongoing

Development

Successfully merging this pull request may close these issues.

Display default value in --help documentation from @effect/cli

1 participant