akamensky / argparse

Argparse for golang. Just because `flag` sucks
MIT License
604 stars 62 forks source link

support of equals from cli #62

Closed jhughes1153 closed 4 years ago

jhughes1153 commented 4 years ago

It seems like it would be useful to be able to specify --path=/home/path/to/file like you can in the python version of argparse. Currently to get around this one has to specify --path /home/path/to/file with the space and it wont parse if there is an equal sign. It took some time before I realized that I needed to have spaces instead of an equal sign before it would parse it correctly.

akamensky commented 4 years ago

That is great suggestion. Given I am very time constrained would appreciate a PR for this issue.

jhughes1153 commented 4 years ago

Sure I'll start on it this weekend