Added cpl_cli docs & moved cpl_cli/templates -> cpl_cli/_templates
This commit is contained in:
19
src/cpl_cli/_templates/template_file_abc.py
Normal file
19
src/cpl_cli/_templates/template_file_abc.py
Normal file
@@ -0,0 +1,19 @@
|
||||
from abc import ABC, abstractmethod
|
||||
|
||||
|
||||
class TemplateFileABC(ABC):
|
||||
|
||||
@abstractmethod
|
||||
def __init__(self): pass
|
||||
|
||||
@property
|
||||
@abstractmethod
|
||||
def name(self) -> str: pass
|
||||
|
||||
@property
|
||||
@abstractmethod
|
||||
def path(self) -> str: pass
|
||||
|
||||
@property
|
||||
@abstractmethod
|
||||
def value(self) -> str: pass
|
||||
Reference in New Issue
Block a user