tools/

directory
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2026 License: MIT

Directories

Path Synopsis
Command check-compat diffs the input-key sets between the upstream lowlighter/metrics checkout (./org_repo) and the vendored copy under assets/.
Command check-compat diffs the input-key sets between the upstream lowlighter/metrics checkout (./org_repo) and the vendored copy under assets/.
Command gen-action-yml generates the project's action.yml from the embedded plugin / template metadata.yml files + core input definitions.
Command gen-action-yml generates the project's action.yml from the embedded plugin / template metadata.yml files + core input definitions.
Command gen-graphql wraps genqlient's code generator so it picks up the project's pinned dependency versions (notably the modern golang.org/x/tools required by Go 1.26+) instead of whatever transient versions `go run github.com/Khan/genqlient` would resolve to.
Command gen-graphql wraps genqlient's code generator so it picks up the project's pinned dependency versions (notably the modern golang.org/x/tools required by Go 1.26+) instead of whatever transient versions `go run github.com/Khan/genqlient` would resolve to.
Command gen-octicons reads the @primer/octicons build/data.json shipped by the npm package and writes a trimmed, embed-friendly assets/octicons/data.json that internal/render.ReplaceOcticons consumes at runtime.
Command gen-octicons reads the @primer/octicons build/data.json shipped by the npm package and writes a trimmed, embed-friendly assets/octicons/data.json that internal/render.ReplaceOcticons consumes at runtime.
Command gen-plugin-docs emits per-plugin markdown pages under docs/plugins/ and refreshes the plugins-gallery AUTOGEN block inside README.md.
Command gen-plugin-docs emits per-plugin markdown pages under docs/plugins/ and refreshes the plugins-gallery AUTOGEN block inside README.md.
Package main implements normalize-svg-stream: a thin stdin→stdout masker that replaces the two dynamic footer fragments in an SVG so committed samples under docs/examples/ stay byte-stable across re-runs (FR-008 idempotency).
Package main implements normalize-svg-stream: a thin stdin→stdout masker that replaces the two dynamic footer fragments in an SVG so committed samples under docs/examples/ stay byte-stable across re-runs (FR-008 idempotency).
Command record-fixtures captures real GitHub GraphQL responses for a fixed set of accounts/repos and vendors them under tests/fixtures/ as replay fixtures for the layer-2 data tests.
Command record-fixtures captures real GitHub GraphQL responses for a fixed set of accounts/repos and vendors them under tests/fixtures/ as replay fixtures for the layer-2 data tests.
Command svg2png rasterizes one or more standalone metrics SVG files to PNG using the same chromedp-based renderer the production pipeline uses (internal/render.Browser + Resize).
Command svg2png rasterizes one or more standalone metrics SVG files to PNG using the same chromedp-based renderer the production pipeline uses (internal/render.Browser + Resize).
Command sync-fixtures captures the upstream lowlighter/metrics output for a given test case (e.g.
Command sync-fixtures captures the upstream lowlighter/metrics output for a given test case (e.g.

Jump to

Keyboard shortcuts

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