argparse_dataclass icon indicating copy to clipboard operation
argparse_dataclass copied to clipboard

Is dict type supported?

Open sleepwalker2017 opened this issue 3 years ago • 2 comments
trafficstars

I don't see dict case used in examples.

sleepwalker2017 avatar Sep 28 '22 07:09 sleepwalker2017

I'm not sure how using dict as a type as a CLI argument would make sense. Do you have an example of what you would like to do?

mivade avatar Sep 28 '22 13:09 mivade

I can see it's not a good way to make a dict as input from CLI. you have to convert the dict to a string and then replace some escape characters to make the shell parse it ok.

sleepwalker2017 avatar Oct 11 '22 10:10 sleepwalker2017