Documentation
¶
Overview ¶
Package cli parses command arguments and presents the shared audit API. The executable injects the facade functions to preserve the internal package import direction; this package contains no alternate audit implementation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type API ¶
type API struct {
LoadManifest func(io.Reader) (contracts.Manifest, error)
Audit func(context.Context, contracts.Manifest, contracts.Options) (contracts.Report, error)
WriteJSON func(io.Writer, contracts.Report) error
WriteMarkdown func(io.Writer, contracts.Report) error
}
API supplies the same public operations used by library callers.