From b8afd4f50c54a257b27df7b614ceae26ef555cde Mon Sep 17 00:00:00 2001 From: Louis Ruch Date: Thu, 9 Dec 2021 14:49:54 -0800 Subject: [PATCH] feat(cli): Display credential type in library list --- internal/cmd/commands/credentiallibrariescmd/funcs.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/internal/cmd/commands/credentiallibrariescmd/funcs.go b/internal/cmd/commands/credentiallibrariescmd/funcs.go index 9292a227c..9edd1166b 100644 --- a/internal/cmd/commands/credentiallibrariescmd/funcs.go +++ b/internal/cmd/commands/credentiallibrariescmd/funcs.go @@ -87,6 +87,11 @@ func (c *Command) printListTable(items []*credentiallibraries.CredentialLibrary) fmt.Sprintf(" Type: %s", m.Type), ) } + if m.CredentialType != "" { + output = append(output, + fmt.Sprintf(" Credential Type: %s", m.CredentialType), + ) + } if m.Name != "" { output = append(output, fmt.Sprintf(" Name: %s", m.Name),