class ConfigPlugin (Builtin):
def __init__(self):
super(ConfigPlugin, self).__init__(name='config')
-
- def commands(self):
- return [GetCommand(), SetCommand(), PrintCommand()]
+ self._commands = [GetCommand(), SetCommand(), PrintCommand()]
+ self._setup_commands()
# Define common or complicated arguments