Skip to content

Support accumulating repeatable flags - #92

Open
mirryi wants to merge 1 commit into
leanprover:mainfrom
mirryi:main
Open

Support accumulating repeatable flags#92
mirryi wants to merge 1 commit into
leanprover:mainfrom
mirryi:main

Conversation

@mirryi

@mirryi mirryi commented Jul 23, 2026

Copy link
Copy Markdown

This PR adds support for repeatable flags which accumulate Array arguments. Repeatable flags are marked by ... after the flag name(s) but before : type (happy to change to other syntax).

FLAGS:
  t, tag ... : Array String;  "A repeatable flag."

-t a -t b -t c, -t a,b -t c and -t a -t b,c are equivalent to -t a,b,c.

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