You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returncli.Exit(fmt.Sprintf("install requires specifying a version for %s", name), 1)
102
+
}
100
103
showAvailable, _:=pterm.DefaultInteractiveConfirm.Show(fmt.Sprintf("No %s version provided, do you want to select a version to install?", pterm.Red(name)))
fmt.Printf("[%s] not added yet, automatically proceeding with installation.\n", pterm.LightBlue(name))
274
+
} elseif!IsInteractiveTerminal() {
275
+
returnnil, cli.Exit(fmt.Sprintf("Plugin %s is not installed. Use the -y flag to automatically install plugins in non-interactive environments", name), 1)
274
276
} else {
275
277
fmt.Printf("[%s] not added yet, confirm that you want to use [%s]? \n", pterm.LightBlue(name), pterm.LightRed(name))
0 commit comments