fix: no gitops on recipe for "app new"

Closes coop-cloud/organising#408
This commit is contained in:
2023-02-15 00:49:22 +01:00
parent 992e675921
commit 312b93e794
11 changed files with 33 additions and 17 deletions

View File

@ -11,7 +11,10 @@ type Config struct {
EnsureRecipeLatest bool // ensure the local recipe has latest changes
}
// Option modified a Config.
// Option modified a Config. The convetion for passing Options to functions is
// so far, only used in internal/validate.go. A Config is then constructed and
// passed down further into the code. This may change in the future but this is
// at least the abstraction so far.
type Option func(c *Config)
// New instantiates a new Config.