Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindComponents ¶
func FindComponents( args *ComponentArgs, rootDir string, outDirBase string, defaultCompPatterns []string, transformConfig component.ConfigAdjuster, ) (comps []*component.Component, all []*component.Component, err error)
Find dispatches to the query function to find all components and returns them.
Types ¶
type ComponentArgs ¶
type ComponentArgs struct {
// Exclusive arguments:
// Glob patterns to components.
// Negation works with `!...`
ComponentPatterns []string
// or a destinct component directory.
ComponentDir string
}
Some component args for the CLI commands.
Click to show internal directories.
Click to hide internal directories.