kort/kort-to-osm — pull request #5 by dbrgn (2014-01-12 00:42:00+00:00)
Title: Switched from argparse to docopt

In case you're interested, this PR replaces the builtin argparse module with the external docopt module.

http://docopt.org/
https://github.com/docopt/docopt

It makes it much simpler to create command line interfaces. You just edit the documentation in the module docstring, and the interface automatically adjusts.

Example (using pdb):

```
$ python kort2osm.py -d -v -c 10
> /home/danilo/Projects/kort-to-osm/kort2osm.py(56)()
(Pdb) arguments
{'--count': '10',
'--dry': True,
'--help': False,
'--quiet': False,
'--verbose': True,
'--version': False}
```

I couldn't really test it because I don't want to actually commit something to OSM, but the CLI interface should be equivalent.