rc 0.0.1
Добавил функцию удаления папок которых нет в списке для обновления. Организовал main. Пока остались тестовые комментарии.
This commit is contained in:
+12
-3
@@ -1,3 +1,4 @@
|
||||
from ast import List
|
||||
from dataclasses import dataclass
|
||||
from datetime import datetime
|
||||
from pathlib import Path
|
||||
@@ -8,7 +9,7 @@ class CertInfo:
|
||||
fingerprint: str
|
||||
expires_at: datetime
|
||||
path_to_key: Path
|
||||
dir_cert: Path
|
||||
dir_caddy_cert: Path
|
||||
|
||||
|
||||
@dataclass
|
||||
@@ -16,7 +17,7 @@ class DSMInfo:
|
||||
certificate_name: str
|
||||
private_key_path: Path
|
||||
certificate_pem_path: Path
|
||||
path_to_fullchain: Path
|
||||
path_inter_pem_chain: Path
|
||||
dsm_id_cert: str
|
||||
|
||||
|
||||
@@ -28,4 +29,12 @@ class DSMAuthInfo:
|
||||
@dataclass
|
||||
class DSMCredentials:
|
||||
user_name: str
|
||||
password: str
|
||||
password: str
|
||||
|
||||
@dataclass
|
||||
class ApplSettings:
|
||||
list_domains: List
|
||||
credentials : str
|
||||
path_to_caddy_cert: Path
|
||||
path_to_save_folder: Path
|
||||
nas_url: str
|
||||
Reference in New Issue
Block a user