Documentation
¶
Overview ¶
generate-sample renders samples.Fixture() through scanner.GenerateReport and writes the resulting Markdown to stdout (or to a file via --out).
Downstream consumers regenerate on demand instead of consuming a committed artifact, so the Go fixture is the single source of truth. Typical use:
go run github.com/CodatusHQ/scanner/cmd/generate-sample > sample-scorecard.md
Go consumers (e.g. the app's dev-seed) skip this binary entirely and call scanner.GenerateReport(samples.Fixture()) in process.
Click to show internal directories.
Click to hide internal directories.