feat: --show-secrets on diff and apply commands (#1749)

Resolves #1674
This commit is contained in:
Nenad Strainovic
2021-04-01 09:41:53 +09:00
committed by GitHub
parent b1b7831a90
commit 200cae2a68
7 changed files with 34 additions and 6 deletions
+5
View File
@@ -23,6 +23,7 @@ type diffConfig struct {
skipDeps bool
includeTests bool
suppressSecrets bool
showSecrets bool
suppressDiff bool
noColor bool
context int
@@ -60,6 +61,10 @@ func (a diffConfig) SuppressSecrets() bool {
return a.suppressSecrets
}
func (a diffConfig) ShowSecrets() bool {
return a.showSecrets
}
func (a diffConfig) SuppressDiff() bool {
return a.suppressDiff
}