Re:CLI Applications With Docopt and Packaging [video]
by ams6110 on Monday May 27, 2013 @01:53PM
(#5775727)
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'
As a very simple example, in unix we have separate 'cp' and 'mv' commands rather than a '--remove-source-file' option to 'cp'