diff options
Diffstat (limited to 'test-plugins/hello_plugin.py')
-rw-r--r-- | test-plugins/hello_plugin.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test-plugins/hello_plugin.py b/test-plugins/hello_plugin.py new file mode 100644 index 0000000..1a4f1ea --- /dev/null +++ b/test-plugins/hello_plugin.py @@ -0,0 +1,15 @@ +import cliapp + +class Hello(cliapp.Plugin): + + def __init__(self, foo, bar=None): + self.foo = foo + self.bar = bar + + @property + def version(self): + return '0.0.1' + + def setup(self): + self.setup_called = True + |