mfrasca / txt2epub

create a epub file from a set of text files
47 stars 11 forks source link

use docopt to enhance arg parse and use pattern presentation #17

Open hupili opened 11 years ago

hupili commented 11 years ago

use docopt. We can simply write typical use patterns in the code. This gives more useful information for first timers.

redirected from #13

mfrasca commented 11 years ago

reasons for doing so: »PEP 257 recommends putting help message in the module docstring.« »[using docopt,] The option parser [can be] generated based on the docstring« as they at docopt state: beat that!