Extracted installation methods, created a new class for theme installers

This commit is contained in:
Vladyslav Hroshev
2025-03-31 23:53:14 +03:00
parent 1bd1b781db
commit 860cacaa2c
10 changed files with 296 additions and 236 deletions

View File

@@ -5,11 +5,12 @@
import argparse
import shutil
from collections import defaultdict
from typing import Any
from .. import config
import os
def remove_files(args: argparse.Namespace, colors: dict[str, str]):
def remove_files(args: argparse.Namespace, colors: dict[str, Any]):
"""Delete already installed Marble theme"""
themes = detect_themes(config.themes_folder)