We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0103a38 commit e37c861Copy full SHA for e37c861
cli/options.go
@@ -350,6 +350,16 @@ func WithResolvedPaths(resolve bool) ProjectOptionsFn {
350
}
351
352
353
+// WithExtendsApplied set ProjectOptions to enable/skip normalization
354
+func WithExtendsApplied(b bool) ProjectOptionsFn {
355
+ return func(o *ProjectOptions) error {
356
+ o.loadOptions = append(o.loadOptions, func(options *loader.Options) {
357
+ options.SkipExtends = !b
358
+ })
359
+ return nil
360
+ }
361
+}
362
+
363
// WithResourceLoader register support for ResourceLoader to manage remote resources
364
func WithResourceLoader(r loader.ResourceLoader) ProjectOptionsFn {
365
return func(o *ProjectOptions) error {
0 commit comments