mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-19 00:27:15 +02:00
feat: add/expose cli flags (#771)
* feat: add/expose cli flags Signed-off-by: Hans Song <hans.m.song@gmail.com> * fix tests Signed-off-by: Hans Song <hans.m.song@gmail.com> * remove skipdeps from subcommand options Signed-off-by: Hans Song <hans.m.song@gmail.com> * remove skip-deps from subcommand flags Signed-off-by: Hans Song <hans.m.song@gmail.com> * remove SkipDeps from subcommand implementations Signed-off-by: Hans Song <hans.m.song@gmail.com> * update doco with new flags Signed-off-by: Hans Song <hans.m.song@gmail.com> --------- Signed-off-by: Hans Song <hans.m.song@gmail.com>
This commit is contained in:
@@ -6,8 +6,6 @@ type DiffOptions struct {
|
||||
Set []string
|
||||
// Values is the values flag
|
||||
Values []string
|
||||
// SkipDeps is the skip deps flag
|
||||
SkipDeps bool
|
||||
// DetailedExitcode is the detailed exit code
|
||||
DetailedExitcode bool
|
||||
// IncludeTests is the include tests flag
|
||||
@@ -83,11 +81,6 @@ func (t *DiffImpl) Set() []string {
|
||||
return t.DiffOptions.Set
|
||||
}
|
||||
|
||||
// SkipDeps returns the skip deps
|
||||
func (t *DiffImpl) SkipDeps() bool {
|
||||
return t.DiffOptions.SkipDeps
|
||||
}
|
||||
|
||||
// SkipNeeds returns the skip needs
|
||||
func (t *DiffImpl) SkipNeeds() bool {
|
||||
if !t.IncludeNeeds() {
|
||||
|
||||
Reference in New Issue
Block a user