MCPcopy Create free account
hub / github.com/LunaSource/Luna / remove

Function remove

config/config.go:283–291  ·  view source on GitHub ↗
(slice []string, item string)

Source from the content-addressed store, hash-verified

281func askForAPIKey(configType string) string {
282 fmt.Println(style.Accent(fmt.Sprintf("%s Set API key for %s? (Enter to skip or paste)", style.IconAngleRight, configType)))
283 reader := bufio.NewReader(os.Stdin)
284 input, _ := reader.ReadString('\n')
285 input = strings.TrimSpace(input)
286 if input == "" {
287 clip, _ := clipboard.ReadAll()
288 return strings.TrimSpace(clip)
289 }
290 return input
291}
292
293func askForModel(configType string) string {
294 fmt.Println(style.Accent(fmt.Sprintf("%s Set OpenRouter model for %s? (e.g. openai/gpt-4o-mini, Enter to skip)", style.IconAngleRight, configType)))

Callers 1

UpdateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected