docs: make the CLI the source of truth for ferro-vm commands

명령 목록이 tools/README.md와 argparse 정의 두 곳에 손으로 동기화되고 있었다.
드리프트가 불가피하므로 목록을 --help로 단일화한다.

cli.py에 서브커맨드별 help/description, 인자 metavar, 예시 epilog를 채웠다.
put의 DOS 8.3 이름 제약처럼 명령에 직접 붙는 함정은 해당 도움말에 넣었다.
tools/README.md는 호스트 요구사항, 셋업, 자동화 구조로 줄이고 목록은 --help로
넘긴다. AGENTS.md에는 CLI가 규범이라는 포인터를 남긴다.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012PQm6oAvWX4Lp3iSN5AHGT
This commit is contained in:
2026-08-16 17:01:30 +09:00
co-authored by Claude Opus 5
parent 2e7502bfa6
commit eff5cbfb12
3 changed files with 97 additions and 43 deletions
+9 -1
View File
@@ -9,9 +9,17 @@ DOS용 시스템 프로그래밍 언어 Ferro와 그 컴파일러 `fec`. 규범
|---|---|
| `SPEC.md` | 언어 명세 + 구현 지시서. 유일한 규범 문서 |
| `SPEC.AUDIT.md` | 명세 변경의 문제·결정·근거·구현 영향 누적 로그 |
| `tools/README.md` | QEMU/FreeDOS 자동화 도구 사용법 |
| `tools/README.md` | 호스트 요구사항, 최초 셋업, 자동화 구조 |
| `tools/tcpagent/README.md` | DOS 내부 TCP 에이전트 프로토콜과 빌드 |
VM 자동화 **명령 목록과 플래그는 문서가 아니라 CLI가 규범**이다. 문서에 복제하면
반드시 드리프트하므로 아래로 확인한다.
```powershell
uv run ferro-vm --help
uv run ferro-vm <command> --help
```
## 검증 규칙
- **실행 검증은 QEMU FreeDOS 내부에서만 한다.** DOSBox는 쓰지 않는다.