SpreadCli is the spread command line client.
| 13 | |
| 14 | // SpreadCli is the spread command line client. |
| 15 | type 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. |
nothing calls this directly
no outgoing calls
no test coverage detected