cliff/demoapp/cliffdemo/simple.py

10 lines
159 B
Python

from cliff.command import Command
class Simple(Command):
"A simple command that prints a message."
def run(self, parsed_args):
print 'hi!'