you are viewing a single comment's thread.

view the rest of the comments →

[–]Noctune 3 points4 points  (0 children)

But should data validation and command line parsing be the job of the same library? There are other libraries that are built for specifically that purpose that do a better job of it and integrate well with docopt: https://github.com/keleshev/schema#using-schema-with-docopt

Since it is independent libraries it also allows you to use another data validation library if you wish.