Instantiate a Lint when cfg.Command is "lint" [#3]
This commit is contained in:
@@ -62,7 +62,7 @@ func determineSteps(cfg Config) *func(Config) []Step {
|
||||
case "delete":
|
||||
panic("not implemented")
|
||||
case "lint":
|
||||
panic("not implemented")
|
||||
return &lint
|
||||
case "help":
|
||||
return &help
|
||||
default:
|
||||
@@ -116,6 +116,14 @@ var upgrade = func(cfg Config) []Step {
|
||||
return steps
|
||||
}
|
||||
|
||||
var lint = func(cfg Config) []Step {
|
||||
lint := &run.Lint{
|
||||
Chart: cfg.Chart,
|
||||
}
|
||||
|
||||
return []Step{lint}
|
||||
}
|
||||
|
||||
var help = func(cfg Config) []Step {
|
||||
help := &run.Help{}
|
||||
return []Step{help}
|
||||
|
||||
Reference in New Issue
Block a user