Improved cli
This commit is contained in:
0
src/sh_edraft/cli/command/base/__init__.py
Normal file
0
src/sh_edraft/cli/command/base/__init__.py
Normal file
10
src/sh_edraft/cli/command/base/command_base.py
Normal file
10
src/sh_edraft/cli/command/base/command_base.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from abc import ABC, abstractmethod
|
||||
|
||||
|
||||
class CommandBase(ABC):
|
||||
|
||||
@abstractmethod
|
||||
def __init__(self): pass
|
||||
|
||||
@abstractmethod
|
||||
def run(self, args: list[str]): pass
|
||||
Reference in New Issue
Block a user