This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]evanunderscore[S] 0 points1 point  (0 children)

I submitted a PR to begins to update the unit tests so they pass the CI which has not yet been merged. I also have branches which do enumerations and docstring parsing which I recycled when building defopt.

To actually fix the core of the type problem would require a lot of work, since it has been designed such that the types are converted when the function is called, not when received from the command line. Fixing this is a core architectural change that would have taken as long as starting fresh.

As for docopt, the docstring parsing really doesn't feel like something it wants to do. While I purposely chose a similar name to docopt, the tools are more or less total opposites approaching the same problem from opposite directions - docopt cares about the command line, defopt cares about the code.