mirror of
https://github.com/ZettaIO/restic-compose-backup.git
synced 2025-12-15 10:11:08 +00:00
Skeleton for commands
This commit is contained in:
12
src/restic_compose_backup/commands/base.py
Normal file
12
src/restic_compose_backup/commands/base.py
Normal file
@@ -0,0 +1,12 @@
|
||||
from restic_compose_backup.config import Config
|
||||
|
||||
|
||||
class BaseCommand:
|
||||
"""Base class for all commands"""
|
||||
name = "base"
|
||||
|
||||
def __init__(self):
|
||||
self.config = Config()
|
||||
|
||||
def run(self):
|
||||
raise NotImplementedError
|
||||
Reference in New Issue
Block a user