Comments (5)
Again @pheiberg thanks for posting the issue.
Issue contributes to make the library better (implying that issue will be fixed...) and so are always welcome.
This is issue was filed under enhancement, because this is a known behavior; also if not enough to describe your syntax.
Thanks for the reference, I'll read it. It' always good know what other do...
At glance
As a short reply (if my posts could be categorized this way...), I see in your last proposal a way of doing things perfectly aligned with the current philosophy.
A bit more in depth
Following the the idea to combining two behaviors, I'd say that a problem exists (to be honest). Since you can already combine it, an exception should be thrown to warn that X with Y should not be combined.
This is one of the key reason that have me brought to heavily refactoring the kernel and try to adhere some functional principles; but the second point is in its earliest stages. :))
Going ahead, I'm agree that such behaviour should be semantically supported by the parser (no exception -> we will be implemented).
Conclusion
Required
will work as always, but when combined with MutuallyExclusiveSet
it will be scoped to the matching set.
C/C: @nemec @mizipzor (main contrib. opinion appreciated)
from commandline.
I want to add one thing, since its an enhancement, fixing will be delayed until some refactorings occur in persing kernel.
Anyway we're a talking of very limited amount of time.
As you can see all enhancement are freezed during this time.
Metrics: we're taliking of days not months!!!
from commandline.
Work is not stopped, please read https://github.com/gsscoder/commandline/wiki/Official-Roadmap
from commandline.
@pheiberg Check PRs this should be solved as now.
If you're satisfied, please let me if I can close this issue.
Thanks.
from commandline.
Considering the lack of activity, it's time to close this (just reopen if need be).
from commandline.
Related Issues (20)
- Support for default verb? HOT 7
- Is version 2 still beta? HOT 3
- Cannot use 2 verbs at the same time HOT 5
- Mutual exclusive option is not enforced (even when settings.MutuallyExclusive == true) HOT 3
- Has the approach to verbs in v2 changed? HOT 6
- THIS REPO GOING DEFUNCT, please submit issues/pull requests to https://github.com/commandlineparser/commandline HOT 2
- Argument value with dash not accepted when using single-dash key HOT 1
- Good, except parsing doesn't work HOT 1
- Parser state HOT 1
- Using --help HOT 1
- Inverse order of FlatternHierarchy HOT 1
- Enum Parsing Is Failing HOT 2
- Migrating from 2.3.0 to 2.4.3 HOT 3
- Please support older .NET framework versions
- Unable to parse TimeSpan given from FormatCommandLine HOT 2
- Order of options where there are list options and values HOT 1
- Group where none or all options must be provided HOT 1
- Fast HOT 1
- (Tool's);
- Tv
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from commandline.