Is it possible to create options with conditional parameters with help generation like in linux tail?
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 45/100
Research direction
Start by tracing the option-definition and automatic help-generation APIs, then compare how they represent short and long aliases. Check whether an option can distinguish an absent argument from an explicitly supplied name or descriptor. Done means conditional parameters are supported, with help output matching the requested tail-style syntax, or the limitation is documented.
Written by the indexing model from the issue text.
Description
In linux tail option -f and --follow are distinct in that former do not allow to set any values, but latter allow to set name or descriptor values.
-f, --follow[={name|descriptor}]
output appended data as the file grows;
an absent option argument means 'descriptor'
Is it possible to define options class to allow that with automatic help generation accordingly?
If it is not possible to generate help, is it possible to just create options to allow the distinction?
- Dominant language
- C#
- Stars
- 4.8k
- Forks
- 478
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from commandlineparser/commandline
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
commandlineparser/commandline#951 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 70/100
commandlineparser/commandline#880 · 2 reactions ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
commandlineparser/commandline#948 ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
commandlineparser/commandline#947 ·
-
awaiting response
Difficulty 5/5 Over a week Newbie friendliness 25/100
commandlineparser/commandline#945 · 1 comment ·
All issues in commandlineparser/commandline
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
nightscout/nocturne#1425 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Documentation
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
cake-build/cake#5024 ·
-
Frontend status/draft TechnicalDebt
Difficulty 2/5 1-2 days Newbie friendliness 75/100
Altinn/altinn-auth#4143 ·