Argu icon indicating copy to clipboard operation
Argu copied to clipboard

feat: Support for MSBuild-like key-value lists

Open dawedawe opened this issue 2 years ago • 2 comments

Description

Given

type Arguments =
    | [<EqualsAssignment; AltCommandLine("-p:"); AltCommandLine("-p")>] Property of string * string

to support MSBuild like property lists, it would be great if argu would break up the argument by itself.

Currently, if you pass in -p:prop1="val1a;val1b;val1c";prop2="1;2;3";prop3=val3 argu will think it means prop1 has the value: "val1a;val1b;val1c";prop2="1;2;3";prop3=val3

We were able to get what we want with this

The background story is here.

dawedawe avatar Dec 13 '23 08:12 dawedawe

Hi there, that sounds like a fine addition. Are you interested in submitting a PR for this?

nojaf avatar Dec 13 '23 10:12 nojaf

Sure, I'll take a crack at this.

dawedawe avatar Dec 13 '23 10:12 dawedawe