Wing CommmanderΒΆ

Wing Commander is a Python Library to ease the creation of command line interface (CLI) applications. It extends the built in cmd library to make the setup more pythonic by using decorators and leveraging things like docstrings and providing helpers for other things.

from wingcommander import WingCommander


class MyShellApplication(WingCommander):
   pass

@MyShellApplication.command
def hello(shell, *args):
   ''' Greets whatever you tell it to.
   '''
   return ' '.join(["hello"] + args)

Contents:

https://secure.travis-ci.org/jdost/wingcommander.png?branch=master

Navigation