Restore the build tools and define the workspace layout

Restore the reviewed pack, PE, and patch tooling. Specify a TypeScript
build pipeline, a type-preserving BLK codec, and a configurable loopback
port selected at launch. Document the package boundaries.
This commit is contained in:
N0VAN0M4LY committed 2026-11-24 00:19:04 +08:00
1 parent 65f9377f24
commit 0117c02677
25 files changed
+1155

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
"""Command line entry point for the development-side tools.
Each group of commands lives in its own module and registers itself here:
- exe_commands: check-patches, patch-exe
Run `wtotools <command> --help` for the arguments of one command.
"""
from __future__ import annotations
import argparse
from . import exe_commands
def main(argv: list[str] | None = None) -> int:
parser = argparse.ArgumentParser(prog="wtotools", description=__doc__,
formatter_class=argparse.RawDescriptionHelpFormatter)
commands = parser.add_subparsers(dest="command", required=True)
for group in (exe_commands,):
group.register(commands)
args = parser.parse_args(argv)
return args.handler(args)