diff options
author | crupest <crupest@outlook.com> | 2024-11-11 01:12:29 +0800 |
---|---|---|
committer | Yuqian Yang <crupest@crupest.life> | 2025-01-03 23:41:03 +0800 |
commit | 9759de30c00dc529030275b2d7bcaaea3c302e00 (patch) | |
tree | 0c13bf85cec332b02c7acd1d0edb42aa9da75a32 /tools/cru-py/cru/service/_template.py | |
parent | 69f15f6319626c72707a7d7b461febcaf460570c (diff) | |
download | crupest-9759de30c00dc529030275b2d7bcaaea3c302e00.tar.gz crupest-9759de30c00dc529030275b2d7bcaaea3c302e00.tar.bz2 crupest-9759de30c00dc529030275b2d7bcaaea3c302e00.zip |
HALF WORK: 2024.1.3
Diffstat (limited to 'tools/cru-py/cru/service/_template.py')
-rw-r--r-- | tools/cru-py/cru/service/_template.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/cru-py/cru/service/_template.py b/tools/cru-py/cru/service/_template.py index 5da00ba..bf13212 100644 --- a/tools/cru-py/cru/service/_template.py +++ b/tools/cru-py/cru/service/_template.py @@ -1,12 +1,12 @@ from argparse import ArgumentParser, Namespace -from ._base import AppFeatureProvider +from ._base import AppCommandFeatureProvider from cru.app import ApplicationPath from cru.template import TemplateTree -class TemplateManager(AppFeatureProvider): +class TemplateManager(AppCommandFeatureProvider): def __init__(self, prefix: str = "CRUPEST"): super().__init__("template-manager") self._templates_dir = self.add_app_path("templates", True) |