build(rawcli): make prompt_toolkit a core dependency + document rawcli

`pm3py rawcli` is a headline tool, so prompt_toolkit moves from the
[rawcli] extra into core dependencies — a plain `pip install` gets it and
the command just works. The extra is removed; the missing-module guard now
points at a reinstall (it only fires on a broken env).

README: add the rawcli feature bullet, a dedicated "pm3py rawcli"
section (breadcrumb, entry toggle, identify, function-style commands, live
trace, TLV, completion), prompt_toolkit in the dependency list, and cli/
in the architecture tree.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
michael
2026-07-14 12:25:52 -07:00
parent 3e7f47a740
commit 5f57cc4202
3 changed files with 44 additions and 6 deletions

View File

@@ -38,11 +38,11 @@ dependencies = [
"pyserial-asyncio>=0.6",
"bitarray>=2.0",
"pycryptodome>=3.10",
"prompt_toolkit>=3.0",
]
[project.optional-dependencies]
dev = ["pytest"]
rawcli = ["prompt_toolkit>=3.0"]
[project.scripts]
pm3flash = "pm3py.flash_cli:main"