Skip to content

Conversation

@WaywardWizard
Copy link

  • Support just short or just long flag
  • flag("-a") was previously written to Component.(optLong|flagLong) which is unexpected. A long form flag has the prefix "--" by convention.
  • Document further/make explicit the forms of flags allowed

tested all versions from 1.2.18 with nimble test and choosenim

this MR paves the way for a following one i have which is generation of shell completions (ive only implemented fish but scaffolded so that others could implement bash, zsh etc)

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