package cli
Import Path
go.pact.im/x/plumb/internal/cli (on go.dev)
Dependency Relation
imports 11 packages, and imported by one package
Involved Source Files
Package cli is the command-line boundary for plumb: it parses flags, drives
the loader, resolves the destination, runs the pure core, and writes output.
All diagnostics flow through the streams passed to Run so the behavior is
testable.
Package-Level Functions (total 6, in which 1 is exported)
Run executes plumb with the given arguments and streams, returning the process
exit code. It never calls os.Exit itself. Output is split across three writers:
stdout carries the generated source (when -output is unset), stderr carries
diagnostics and the tolerated-error notes, and report carries the -v
discovery-and-inference report. That report is the deterministic,
plumb-controlled stream, kept separate from the variable diagnostics so it can
be consumed on its own.
The command wires report to the same destination as stderr.
Package-Level Variables (total 7, none are exported)
Package-Level Constants (total 3, none are exported)
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)