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