MCPcopy
hub / github.com/redspread/spread / SpreadCli

Struct SpreadCli

cli/cli.go:15–27  ·  view source on GitHub ↗

SpreadCli is the spread command line client.

Source from the content-addressed store, hash-verified

13
14// SpreadCli is the spread command line client.
15type SpreadCli struct {
16 // input stream (ie. stdin)
17 in io.ReadCloser
18
19 // output stream (ie. stdout)
20 out io.Writer
21
22 // error stream (ie. stderr)
23 err io.Writer
24
25 version string
26 workDir string
27}
28
29// NewSpreadCli returns a spread command line interface (CLI) client.NewSpreadCli.
30// All functionality accessible from the command line is attached to this struct.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected