Back to index

python-cliapp  1.20120630
hello_plugin.py
Go to the documentation of this file.
00001 import cliapp
00002 
00003 class Hello(cliapp.Plugin):
00004 
00005     def __init__(self, foo, bar=None):
00006         self.foo = foo
00007         self.bar = bar
00008 
00009     @property
00010     def version(self):
00011         return '0.0.1'
00012         
00013     def setup(self):
00014         self.setup_called = True
00015