summaryrefslogtreecommitdiff
path: root/test-plugins/hello_plugin.py
blob: c47adb7f0f741b0e4a416e74b27ff7c54f7f2e95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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

    def enable(self):
        pass