tests/hello.py
author Dmitriy Morozov <dmitriy@mrzv.org>
Mon, 04 Apr 2011 12:56:15 -0700
changeset 189 a46bf1c7f346
parent 187 5e96ab1087da
permissions -rw-r--r--
Merged upstream

from opster import command

@command(usage="%name [options]")
def hello(name=('n', 'world', 'your name')):
    """
    Hello world continues the long established tradition
    of delivering simple, but working programs in all
    kinds of programming languages.
    """
    print "Hello %s" % name

if __name__ == "__main__":
    hello()