mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 19:01:54 +00:00
Stop importing __main__ from package __init__.py to prevent runpy RuntimeWarning when using `python -m`. - Move CLI logic into command.py modules - Keep __main__.py as thin wrappers - Update unit tests to import command modules directly https://chatgpt.com/share/6947fb8e-550c-800f-8323-e36f92cb5bba
10 lines
167 B
Python
10 lines
167 B
Python
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*-
|
|
|
|
from __future__ import annotations
|
|
|
|
from .command import main
|
|
|
|
if __name__ == "__main__":
|
|
raise SystemExit(main())
|