Source code for csv_manager.plugins.csv_manager_plugin

#!/usr/bin/env python
# -*- coding: utf-8 -*-
from groundwork.patterns import GwCommandsPattern


[docs]class csv_manager_plugin(GwCommandsPattern): def __init__(self, *args, **kwargs): self.name = self.__class__.__name__ super().__init__(*args, **kwargs)
[docs] def activate(self): self.commands.register("hello_world", "Prints hello world", self._hello)
[docs] def deactivate(self): pass
def _hello(self): print("Hello World. It's me, csv_manager_plugin!")