feat: Add --suppress option for diff and apply commands (#2077)

This commit is contained in:
Sören Jentzsch
2022-02-03 08:46:39 +09:00
committed by GitHub
parent 061644c5d0
commit 19927fc147
7 changed files with 36 additions and 6 deletions
+5
View File
@@ -27,6 +27,7 @@ type diffConfig struct {
includeTests bool
includeNeeds bool
skipNeeds bool
suppress []string
suppressSecrets bool
showSecrets bool
suppressDiff bool
@@ -76,6 +77,10 @@ func (a diffConfig) SkipNeeds() bool {
return a.skipNeeds
}
func (a diffConfig) Suppress() []string {
return a.suppress
}
func (a diffConfig) SuppressSecrets() bool {
return a.suppressSecrets
}