pdfcraft/apps/pdfcraft-cli/tests
lloyd 982742b7b3 pdfcraft-cli --help lists `mcp` only when the build has it
Follow-up to #540: a build without the `mcp` feature (`--no-default-features`) still listed
`pdfcraft-cli mcp` in its usage, and `pdfcraft-cli mcp` then said "unknown command".

USAGE is now put together with `concat!`, and its `mcp` lines come from a macro that is empty
without the feature. In such a build `pdfcraft-cli mcp` says the MCP server was left out instead
of calling it an unknown command.

- tests/help.rs: usage_lists_mcp_only_when_built_with_it (runs in both feature sets) and
  mcp_without_the_feature_says_it_was_left_out (without the feature)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 18:36:22 +02:00
..
edit.rs fix(cli): validate page positions and preserve command results (M13) (#391) 2026-10-08 21:37:09 -04:00
help.rs pdfcraft-cli --help lists `mcp` only when the build has it 2026-10-09 18:36:22 +02:00
mcp_compact.rs M13: `pdfcraft-cli mcp --compact` lists 12 tools and finds the rest by search (#353) 2026-10-08 16:55:25 -04:00
render.rs Issue #248: pdfcraft-cli render writes the format its --out name says (.png, .jpg, .tif or .pam) (#255) 2026-10-08 07:25:43 -04:00
run_root.rs Security: create save staging files with create_new (follow-up to #164) (#319) 2026-10-08 15:19:16 -04:00
split.rs Issue #249: pdfcraft-cli split creates --out-dir when it does not exist (#256) 2026-10-08 07:26:03 -04:00
stderr.rs fix(cli): validate page positions and preserve command results (M13) (#391) 2026-10-08 21:37:09 -04:00
stdout.rs Restore #196, #202, #203 and the macOS release-runner change, reverted by the i18n chain (#229) 2026-10-08 03:33:35 -04:00
text.rs fix(cli): validate page positions and preserve command results (M13) (#391) 2026-10-08 21:37:09 -04:00