Documentation
¶
Overview ¶
Command gocraft-cli builds and validates GoCraft plugin bundles.
It is a separate module from the server on purpose: a plugin author compiles, they never run a server, and a build tool that could reach into a server's internals would eventually do it. Here it cannot — the server is not on the module graph, so the rule is enforced by the compiler rather than by review.
The bundle format and its validation are not reimplemented here. They come from gocraft-abi, which the server reads them with too, so a bundle that builds is a bundle that loads: a tree this refuses is a tree the server would have refused, on the machine that has the source.
Click to show internal directories.
Click to hide internal directories.