feat(cli): Display credential type in library list

This commit is contained in:
Louis Ruch authored and Timothy Messier committed 2021-12-16 10:01:44 -05:00
1 parent 4636d34943
commit b8afd4f50c
1 file changed
+5
@@ -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),