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

feat: Support for MSBuild-like key-value lists #199

Open
dawedawe opened this issue Dec 13, 2023 · 2 comments
Open

feat: Support for MSBuild-like key-value lists #199

dawedawe opened this issue Dec 13, 2023 · 2 comments
Assignees

Comments

@dawedawe
Copy link
Member

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.

@nojaf
Copy link
Collaborator

nojaf commented Dec 13, 2023

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

@dawedawe
Copy link
Member Author

Sure, I'll take a crack at this.

@bartelink bartelink changed the title Feature request: Support for MSBuild-like key-value lists feat: Support for MSBuild-like key-value lists Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants