tests/hello.py
author Alexander Solovyov <alexander@solovyov.net>
Tue, 29 Mar 2011 10:34:58 +0200
changeset 188 8ee4c9ad1325
parent 187 5e96ab1087da
permissions -rw-r--r--
Added tag 2.2 for changeset 5e96ab1087da

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()