general

package
v0.23.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2025 License: MIT Imports: 5 Imported by: 9

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL