chore(v2): establish protocol and test foundation

This commit is contained in:
2026-07-27 18:44:47 +02:00
parent 33b0c21292
commit 791f4526f9
86 changed files with 4060 additions and 2582 deletions
+3
View File
@@ -0,0 +1,3 @@
"""Backup Tool v2 package."""
__version__ = "2.0.0.dev0"
+23
View File
@@ -0,0 +1,23 @@
"""Minimal v2 command entry point; runtime roles arrive in M1."""
from __future__ import annotations
import argparse
from collections.abc import Sequence
from backup_tool import __version__
def build_parser() -> argparse.ArgumentParser:
parser = argparse.ArgumentParser(prog="backup-tool")
parser.add_argument("--version", action="version", version=__version__)
return parser
def main(argv: Sequence[str] | None = None) -> int:
build_parser().parse_args(argv)
return 0
if __name__ == "__main__":
raise SystemExit(main())
View File