Skip to content

Smarter Cmdline parsing #3

@pitermarx

Description

@pitermarx

Currently is very naive

args.Select(a => a.Replace("-", string.Empty).Split("="))
       .ToDictionary(
          pair => pair[0],
          pair => pair.Length > 1 ? pair[1] : "true");

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions