[IPython-dev] Magics that multiplex

Nicolas Chauvat nicolas.chauvat@logilab...
Wed Jul 25 13:36:19 CDT 2012


Hi,

On Wed, Jul 25, 2012 at 10:51:02AM -0700, MinRK wrote:
> > Is there an already existing way to do this? I'm
> > using the rel-0.13 tag from git but can use -dev if necessary.
> 
> I don't *think* we have any library code to make subcommands easier, so I
> think you are probably on the right path using ArgumentParser with
> subparsers.

You may want to look at
http://hg.logilab.org/logilab/common/file/8724116a446a/clcommands.py
if you need inspiration.

-- 
Nicolas Chauvat

logilab.fr - services en informatique scientifique et gestion de connaissances  


More information about the IPython-dev mailing list