CLI is information about the CLI itself.
| 62 | |
| 63 | // CLI is information about the CLI itself. |
| 64 | type CLI struct { |
| 65 | Version string |
| 66 | LatestRelease *Release |
| 67 | } |
| 68 | |
| 69 | // New creates a CLI, setting it to a particular version. |
| 70 | func New(version string) *CLI { |
nothing calls this directly
no outgoing calls
no test coverage detected