generate-sample

command
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: May 21, 2026 License: MIT Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

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