neithere / argh

An argparse wrapper that doesn't make you say "argh" each time you deal with it.
http://argh.rtfd.org
GNU Lesser General Public License v3.0
369 stars 56 forks source link

"Lazy" subparsers #42

Open neithere opened 11 years ago

neithere commented 11 years ago

Building the complete ArgumentParser tree in complex apps (with namespaced commands i.e. subparsers) can take considerable time (as it imports just about everything from the sub-apps). A "lazy" parsing tree could solve the problem. Also, plug-ins may require the tree to be "lazy".

This may help: http://code.google.com/p/argparse/issues/detail?id=52

Note: This issue has been automatically migrated from Bitbucket Created by @neithere on 2013-04-19 11:36:31+00:00