mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Added .NET to available frameworks
This commit is contained in:
committed by
Maidul Islam
parent
b062c44742
commit
618dc10e45
14
cli/packages/visualize/secrets.go
Normal file
14
cli/packages/visualize/secrets.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package visualize
|
||||
|
||||
import "github.com/Infisical/infisical-merge/packages/models"
|
||||
|
||||
func PrintAllSecretDetails(secrets []models.SingleEnvironmentVariable) {
|
||||
rows := [][]string{}
|
||||
for _, secret := range secrets {
|
||||
rows = append(rows, []string{secret.Key, secret.Value, secret.Type})
|
||||
}
|
||||
|
||||
headers := []string{"Secret name", "Secret vaule", "Secret type"}
|
||||
|
||||
Table(headers, rows)
|
||||
}
|
||||
Reference in New Issue
Block a user