From 7d470c4df4321c4da37962ad511a165b61b9ed7e Mon Sep 17 00:00:00 2001 From: Nate Smith Date: Mon, 7 Aug 2023 17:59:12 -0700 Subject: [PATCH] name MultiSelect parameters in interface I wanted the parameters to show up in my autocomplete --- internal/prompter/prompter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/prompter/prompter.go b/internal/prompter/prompter.go index cd90fcd2d..df6819e1f 100644 --- a/internal/prompter/prompter.go +++ b/internal/prompter/prompter.go @@ -14,7 +14,7 @@ import ( //go:generate moq -rm -out prompter_mock.go . Prompter type Prompter interface { Select(string, string, []string) (int, error) - MultiSelect(string, []string, []string) ([]int, error) + MultiSelect(prompt string, defaults []string, options []string) ([]int, error) Input(string, string) (string, error) InputHostname() (string, error) Password(string) (string, error)