(c flags.FlagContext, prompt string)
| 167 | } |
| 168 | |
| 169 | func (cmd *PluginInstall) confirmWithUser(c flags.FlagContext, prompt string) bool { |
| 170 | return c.Bool("f") || cmd.ui.Confirm(prompt) |
| 171 | } |
| 172 | |
| 173 | func (cmd *PluginInstall) ensurePluginBinaryWithSameFileNameDoesNotAlreadyExist(pluginDestinationFilepath, pluginExecutableName string) error { |
| 174 | _, err := os.Stat(pluginDestinationFilepath) |