Skip to content

MutuallyExclusiveSet as members of multiple sets, e.g. [Option(SetName = "ftp, www")] public string NewServiceUrl { get; set; } #337

Open
@jochenwezel

Description

@jochenwezel

The sample of wiki for Mutually Exclusive Options at https://github.com/gsscoder/commandline/wiki/Mutually-Exclusive-Options is already helpful.

But it would be great to be able to define options as members of multiple sets, e.g.

[Option(SetName = "ftp, www")] public string NewServiceUrl { get; set; }

which requires NewServiceUrl as argument as soon as other ftp or other www arguments are specified.

(Or is it already implemented but I haven't realized it/the wiki doesn't tell?)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions