Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stackable ValueOption and Option #163

Open
netxph opened this issue Jun 16, 2015 · 1 comment
Open

Stackable ValueOption and Option #163

netxph opened this issue Jun 16, 2015 · 1 comment
Labels

Comments

@netxph
Copy link

netxph commented Jun 16, 2015

I'd like to mimic this...

app.exe -type SomeType
app.exe SomeType
[ValueOption(0)]
[Option('t', "typeName", Required=true)]
public string TypeName { get; set; }

Having this option gives parsing error on app.exe SomeType. Any suggestions recommendations?

@gsscoder
Copy link
Owner

Hi @netxph, wellcome... It's always important state which version you're talking about: Latest stable (1.9.71.2) or 2.0.1.0 pre-release.
Since you quoted ValueOption I assume you'd like to use latest stable.

You can't apply more attributes to the same identifier (I mean not in general, but the one of this library).

Have checked the wiki: https://github.com/gsscoder/commandline/wiki? All except Latest Version refers to 1.9.71.2.
Please give a look and back if you don't find an answer here or you want further clarifications.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants