commandline icon indicating copy to clipboard operation
commandline copied to clipboard

Parsing key-value pairs

Open mr-miles opened this issue 10 years ago • 4 comments

Is it possible to use the parser to populate key-value pairs?

So something like "myapp.exe -v:a=x -v:b=y -v:c=z" would populate a property v which is a Dictionary<string, string> with (a,x), (b,y), (c,z) values?

I want to use the parser to specify replacements to be made on a text file

Great package by the way!

mr-miles avatar Mar 26 '14 18:03 mr-miles

I have too been looking for this feature. Anyone find/build anything?

alastairtree avatar May 31 '15 12:05 alastairtree

Happy you like it... I'm recently back to work on the project.

When 2.0 swirch to beta, a lot is planned. I was thinking to something similar too...

Maybe adding a form of post-value processing.

Regards.

Il domenica 31 maggio 2015, alastairtree [email protected] ha scritto:

I have too been looking for this feature. Anyone find/build anything?

— Reply to this email directly or view it on GitHub https://github.com/gsscoder/commandline/issues/122#issuecomment-107173091 .

Giacomo Stelluti Scala _Information Technology _Consultant

  • GitHub*: https://github.com/gsscoder
  • Twitter*: https://twitter.com/gsscoder
  • Blog*: http://gsscoder.github.com/

gsscoder avatar Jun 06 '15 17:06 gsscoder

Any update on this?

TheFanatr avatar Oct 21 '17 01:10 TheFanatr

+1 Any update on this?

DominikWiesend avatar Aug 01 '18 14:08 DominikWiesend