diff options
Diffstat (limited to 'dotbot/plugin.py')
-rw-r--r-- | dotbot/plugin.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dotbot/plugin.py b/dotbot/plugin.py index a79639e..56d4da8 100644 --- a/dotbot/plugin.py +++ b/dotbot/plugin.py @@ -1,12 +1,13 @@ from .messenger import Messenger +from .context import Context class Plugin(object): ''' Abstract base class for commands that process directives. ''' - def __init__(self, base_directory): - self._base_directory = base_directory + def __init__(self, context): + self._context = context self._log = Messenger() def can_handle(self, directive): |