CLI is an abstraction around the CLI.
| 12 | |
| 13 | // CLI is an abstraction around the CLI. |
| 14 | type CLI interface { |
| 15 | Printer |
| 16 | StartDomain(dc *models.DomainConfig) |
| 17 | StartDNSProvider(name string, skip bool) |
| 18 | EndProvider(name string, numCorrections int, err error) |
| 19 | EndProvider2(name string, numCorrections int) |
| 20 | StartRegistrar(name string, skip bool) |
| 21 | |
| 22 | PrintCorrection(n int, c *models.Correction) |
| 23 | PrintReport(n int, c *models.Correction) // Print corrections that are diff2.REPORT |
| 24 | EndCorrection(err error) |
| 25 | PromptToRun() bool |
| 26 | } |
| 27 | |
| 28 | // Printer is a simple abstraction for printing data. Can be passed to providers to give simple output capabilities. |
| 29 | type Printer interface { |
no outgoing calls
no test coverage detected