From dadf548bdb065ea8e9eed10cee921af410c7375e Mon Sep 17 00:00:00 2001 From: S4NKALP Date: Fri, 10 Apr 2026 17:06:34 +0545 Subject: [PATCH] feat(root): add run_app and run_lock helper functions Introduce helper functions to invoke the primary application and lock entry points, enhancing modularity and testability. New Features - run_app(): launches the main application. - run_lock(): launches the lock module. Enhancements - Refactor start.py to isolate command execution logic. --- start.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/start.py b/start.py index f9ff948..ab3308b 100644 --- a/start.py +++ b/start.py @@ -7,13 +7,16 @@ src_path = os.path.join(os.path.dirname(__file__), "src") if src_path not in sys.path: sys.path.insert(0, src_path) + def run_app(): from main import main as app_main + app_main() def run_lock(): from lock import main as lock_main + lock_main()