Skip to main content

Crate ahk_cli

Crate ahk_cli 

Source
Expand description

The parts of the runner that a test reads.

The runner is a binary, and a binary cannot be imported. The two modules that a test wants to read back – the JSON it writes and the report it builds out of a run – are therefore here, and the binary uses them: the report is written by one implementation and read by the same one, and a test that disagreed with the runner would be a test of the test.

Modules§

json
The JSON the runner writes, and the one it reads back.
mcp
A Model Context Protocol server for debugging AHK development, over JSON-RPC 2.0 on stdio (one JSON object per line), the same framing as the rgx MCP. It exposes the tree’s own answers so a client can read the errors of a script without a shell:
report
The report of a run, written as the JSON the notes of the runner promise.
v1ref
The reference of the v1: the binary of the AutoHotkey v1 and what it says about a script.