diff --git a/sp/commands/commands.go b/sp/commands/commands.go index efe1ecf..7f4cf49 100644 --- a/sp/commands/commands.go +++ b/sp/commands/commands.go @@ -141,6 +141,11 @@ receive: keyIDMap[key] = md.ID } + if len(keys) == 1 { + primary = keys[0] + fmt.Printf("Selecting sole credential for this source.\n\n") + } + if primary == "" { var idKey string prompt = &survey.Select{