Closed arikfr closed 8 years ago
The import
command is picking up the option name from the update
command? Whoa, that's bizarre! I have a branch I am working on now that adds tests for the different commands, but I can't seem to reproduce that behavior there.
Also a fan of click! I would be happy to convert the code to using it, if @jmathai wants to.
@noonat @arikfr can the interface for commands to elodie.py
remain the same with click? If so, then I'm okay with it.
I've tried running the following command:
But got the following error:
After some debugging I noticed that the value it think it gets is
<a>
, which made me realize that for some reason--album-from-folder
gets the value of--album
. Once I changed the--album
option name to--zalbum
it worked.My docopt version is 0.4.0.
Anyone else had this issue?
Personally, I recommend moving from docopt to click -- far more predictable and stable.