|
|
|
|
|
by the_mitsuhiko
4433 days ago
|
|
Click can be extended lazily which helps execution time a lot when working with many, many plugins. It also can be extended at runtime as per configuraton. argparse requires the parser to have full knowledge of everything which makes it slow if you add many commands. Biggest problem though is that it's parsing system is a bit broken when it comes to escaping. Options with arguments cannot have values starting with dashes which is problematic for delegating subcommands to other things. For what I wrote Click for I could not find any alternatives that worked that way besides optparse itself but that is hard to use. |
|