Option multiple times
See original GitHub issueIs it possible to pass an option (key=value) multiple times?
Like:
tool -g firsttime -g secondtime dsfgsdfg -g thirdtime
As result I want to get something like:
{"-g": ["firsttime", "secondtime", "thirdtime" ]}
Is there a way?
Issue Analytics
- State:
- Created 10 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
How to specify the same option multiple times using Bash
First case#. Repeat specific option to provide multiple arguments. $ bash case-a.sh -p "first argument" -p "second one" -p "third one"
Read more >How to select one option multiple times from jquery,js or html
I'm stuck with multiple select options where I want to select particular options multiple times I read select2 doc I don't get the...
Read more >Buying and Selling options for the same stock multiple times in ...
In order to trade long options you need a funded brokerage account and Level 2 option trading approval.
Read more >Allow selecting the same option multiple times in a multi-select
Go to https://select2.github.io/examples.html#tags. Type Letter 'o' (Orange will be listed in Option's List). Select Orange by "Mouse".
Read more >Multiple CLI Options - Typer - tiangolo
You can declare a CLI option that can be used multiple times, and then get all the values. For example, let's say you...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I also look forward to support specifying a option multi times in Options-section, is there any plan to support it.
It’s valid docopt, but unfortunately the options-section is more sloppy in what it allows without giving an error. This is something I’m looking into fixing.