feat(cli): wanderbooks licenses prints the notices compiled into the program
The notices must reach the person holding the binary, not only the repository: THIRD-PARTY-NOTICES.txt is compiled in with include_str!, so `wanderbooks licenses` prints the program's version line and then every crate's and font's licence without opening books or reading a file. A closed pipe (`| head`) is ignored, not a panic. Tests check the version line, the notices required in the output, that the bytes after the header are exactly the repository's file, and that the mode takes no arguments and must come first like every other. Docs: the testing table says what `just notices` writes and how `notices-check` fails on a stale file; the architecture's list of modes names licenses. Co-Authored-By: DeepSeek V4.1 Flash
This commit is contained in:
1 parent
7f87ccd3d3
commit
9baf71b2a5
4 files changed
+128
-11
No files matched your search
@@ -38,7 +38,7 @@ the specification in `bookspec/` (which never depends on the engine).
|
||||
| `ledger-mcp` | the books server: the MCP tools (122), resources, the handbook, scopes, the door and the access log, backups' scheduling | all of the above |
|
||||
| `ledger-host` | the host and its leases, the agent bridge (`wanderbooks mcp`), tokens in 0600 files under the data root (D-63), the owner's commands, uploads and downloads, `update` and `rollback` (P11a), books homes and how to start an agent in one (P11b) | `ledger-store`, `ledger-mcp`, `ledger-config` |
|
||||
| `ledger-gui` | the viewer: read-only, live, egui; the Books menu hands work to the server; the agent dock and the first-run page (P11b) | `ledger-core`, `ledger-store`, `ledger-config`, `ledger-import`, `ledger-package`, `ledger-vault`, `ledger-host` |
|
||||
| `ledger-cli` | `wanderbooks`, the one executable: every mode (`serve`, `server`, `host`, `mcp`, `gui`, `setup`, `books`, `token`, `connect`, `doctor`, …) and the over-the-wire test suites | everything |
|
||||
| `ledger-cli` | `wanderbooks`, the one executable: every mode (`serve`, `server`, `host`, `mcp`, `gui`, `setup`, `books`, `token`, `connect`, `doctor`, `licenses`, …) and the over-the-wire test suites | everything |
|
||||
| `bookspec/checker`, `bookspec/runner` | the example schema and parser, the rule catalogue, the `Engine` trait; the per-rule runner | nothing of ours (the adapter in `ledger-core`'s tests depends on them) |
|
||||
|
||||
Dependency direction is always inward toward `ledger-core`; nothing in
|
||||
|
||||
Reference in new issue
Block a user