diff options
author | crupest <crupest@outlook.com> | 2024-11-11 01:12:29 +0800 |
---|---|---|
committer | Yuqian Yang <crupest@crupest.life> | 2025-01-18 17:49:34 +0800 |
commit | 56139950094d6eae43bba6ce8a0b4ab7d063aa41 (patch) | |
tree | 366f4a57adc81948c09b249fb6f804357aedc509 /tools/cru-py/cru/service/_app.py | |
parent | 41f735ed9ddc9d96d27f7e1f2a6ca34af9cce9d9 (diff) | |
download | crupest-56139950094d6eae43bba6ce8a0b4ab7d063aa41.tar.gz crupest-56139950094d6eae43bba6ce8a0b4ab7d063aa41.tar.bz2 crupest-56139950094d6eae43bba6ce8a0b4ab7d063aa41.zip |
HALF WORK: 2024.1.18 - 2
Diffstat (limited to 'tools/cru-py/cru/service/_app.py')
-rw-r--r-- | tools/cru-py/cru/service/_app.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/cru-py/cru/service/_app.py b/tools/cru-py/cru/service/_app.py index a656e3b..9533b5c 100644 --- a/tools/cru-py/cru/service/_app.py +++ b/tools/cru-py/cru/service/_app.py @@ -1,4 +1,4 @@ -from ._base import AppBase, CommandDispatcher, AppInitializer, OWNER_NAME +from ._base import AppBase, CommandDispatcher, AppInitializer, PathCommandProvider, OWNER_NAME from ._config import ConfigManager from ._data import DataManager from ._template import TemplateManager @@ -7,6 +7,7 @@ from ._template import TemplateManager class App(AppBase): def __init__(self): super().__init__(f"{OWNER_NAME}-service") + self.add_feature(PathCommandProvider()) self.add_feature(AppInitializer()) self.add_feature(DataManager()) self.add_feature(ConfigManager()) |