gen

command
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 5, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Command gen renders everything forgeapi publishes about per-product behaviour from the expectation table, and nothing else states those facts.

Two outputs. It replaces the per-forge block of every role method's godoc in roles.go, and it writes SUPPORT.md, the operation-by-product support matrix. Run it through go generate from the module root; gen_test.go fails when either output would move, which is the stale-output gate.

A method's block is the span from the "Per forge:" line to the end of that doc comment, and the span is this command's alone: everything above the marker is written by hand and is never touched.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL