Hacker News new | past | comments | ask | show | jobs | submit login
CLI Applications With Docopt and Packaging [video] (neckbeardrepublic.com)
10 points by ahammad on May 27, 2013 | hide | past | favorite | 2 comments



docopt is quite nice, but it makes it almost too easy to generate highly complex argument options. Favor instead a few separate commands with simpler options.

As a very simple example, in unix we have separate 'cp' and 'mv' commands rather than a '--remove-source-file' option to 'cp'


great video just what I was looking for!




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: