Skip to content

DefaultValue & Description for EnumeratedValueArgument? #75

Open
@winkmichael

Description

@winkmichael

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions