tests/hello.py
author Alexander Solovyov <alexander@solovyov.net>
Tue, 29 Mar 2011 10:31:33 +0200
changeset 187 5e96ab1087da
permissions -rw-r--r--
that would be 2.2, add info to changelog

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