tests/selfhelp.py
author Alexander Solovyov <alexander@solovyov.net>
Mon, 07 Feb 2011 13:11:49 +0100
changeset 179 038e81e5332c
parent 162 e924a731e195
permissions -rw-r--r--
use theme instead of single css file

from opster import command

@command()
def selfhelp(assist=('', False, 'show help')):
    '''Displays ability to show help'''
    if assist:
        selfhelp.help()
    else:
        print 'no help for you!'

if __name__ == '__main__':
    selfhelp()