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

DefaultValue & Description for EnumeratedValueArgument? #75

Open
winkmichael opened this issue Dec 12, 2021 · 0 comments
Open

DefaultValue & Description for EnumeratedValueArgument? #75

winkmichael opened this issue Dec 12, 2021 · 0 comments

Comments

@winkmichael
Copy link

winkmichael commented Dec 12, 2021

Hello. Is there a way to have a DefaultValue for a EnumeratedValueArgument? If nothing is set I want it to use "verify", also is there a reason there is no way to add a Description / FullDescription for EnumeratedValueArgument?

Thanks for the time, help and cool project!

[EnumeratedValueArgument(typeof(string), 'a', "action", 
            AllowedValues = "activate;deactivate;verify;"),
            DefaultValue = "verify",
            Description = "Deactivate.",
            FullDescription = "Deactivates System.",
            ]
public string action;

./program.exe -action activate

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

No branches or pull requests

1 participant