App is the top-level CLI entrypoint. Construct one with New, then call Run with the process args (excluding argv[0]).
| 21 | // App is the top-level CLI entrypoint. Construct one with New, then call |
| 22 | // Run with the process args (excluding argv[0]). |
| 23 | type App struct { |
| 24 | version string |
| 25 | stdout io.Writer |
| 26 | stderr io.Writer |
| 27 | stdin io.Reader |
| 28 | } |
| 29 | |
| 30 | // New constructs an App from Options. |
| 31 | func New(opts Options) *App { |
nothing calls this directly
no outgoing calls
no test coverage detected