In my project, I need to define a syntax like
mcraw recipe add COUNT ID COUNT_1 ID_1 [COUNT_2 ID_2 ..]
and argparse
seems to be the best tool for the general job.
How can I instruct Python and its argparse
to construct a dictionary like this?
{
ID_1: COUNT_1,
ID_2: COUNT_2,
...
}