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.
This commit is contained in:
sankalp committed 2026-04-10 17:11:32 +05:45
1 parent 4f4636d469
commit dadf548bdb
1 file changed
+3
+3
View File
@@ -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()