From cd8dd2615b0b4617899dc05a584b4f55a6d190fa Mon Sep 17 00:00:00 2001 From: Yutian Li Date: Tue, 4 Jan 2022 15:26:55 +1100 Subject: [PATCH] update mod and scripts --- cmd/main.go | 4 ++-- go.mod | 3 ++- go.sum | 2 ++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/cmd/main.go b/cmd/main.go index 472189b..1244deb 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -23,8 +23,8 @@ func main() { } prompt := promptui.Select{ - Label: "Select AWS Profile", - Items: profiles, + Label: "Select AWS Profile", + Items: profiles, Templates: &templates, } _, targetProfile, err := prompt.Run() diff --git a/go.mod b/go.mod index b032e7c..7042f82 100644 --- a/go.mod +++ b/go.mod @@ -2,8 +2,9 @@ module aws-profile-tool go 1.17 +require github.com/manifoldco/promptui v0.9.0 + require ( github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e // indirect - github.com/manifoldco/promptui v0.9.0 // indirect golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e // indirect ) diff --git a/go.sum b/go.sum index 590c2fa..0365219 100644 --- a/go.sum +++ b/go.sum @@ -1,6 +1,8 @@ +github.com/chzyer/logex v1.1.10 h1:Swpa1K6QvQznwJRcfTfQJmTE72DqScAa40E+fbHEXEE= github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e h1:fY5BOSpyZCqRo5OhCuC+XN+r/bBCmeuuJtjz+bCNIf8= github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= +github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1 h1:q763qf9huN11kDQavWsoZXJNW3xEE4JJyHa5Q25/sd8= github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= github.com/manifoldco/promptui v0.9.0 h1:3V4HzJk1TtXW1MTZMP7mdlwbBpIinw3HztaIlYthEiA= github.com/manifoldco/promptui v0.9.0/go.mod h1:ka04sppxSGFAtxX0qhlYQjISsg9mR4GWtQEhdbn6Pgg=