()
| 44 | } |
| 45 | |
| 46 | func (cmd *APICommand) clearTarget() error { |
| 47 | cmd.UI.DisplayTextWithFlavor("Unsetting API endpoint...") |
| 48 | cmd.Actor.ClearTarget() |
| 49 | cmd.UI.DisplayOK() |
| 50 | return nil |
| 51 | } |
| 52 | |
| 53 | func (cmd *APICommand) setAPI() error { |
| 54 | cmd.UI.DisplayTextWithFlavor("Setting API endpoint to {{.Endpoint}}...", map[string]interface{}{ |
no test coverage detected