Open bilderbuchi opened 11 years ago
Yeah, i think it's definitely a good idea to use something like this. I used optparse in past (prequel to argparse) and it's indeed very useful.
Yes, when i started git-fat
, I wanted to avoid the dependency (it's not in the default distribution prior to python-2.7), but it is easy enough to install and, in retrospect, I probably should have just used it to start with.
I didn't want to pollute the PR discussion of #10 further, so I'll ask this way: Considering that the API/argument structure will probably grow in complexity, have you considered using argparse to parse the arguments? I've used it in the past and found it pretty convenient, with automatic exiting if the arguments don't match the expected structure, semi-automatic help-file generation, etc.