Documentation ¶ Index ¶ Variables func ForGenerator(g ux.Generator) ux.Plugin func Parse(name string, parser Parser) (ux.Plugin, error) type Parser type Registry type Selector type Source Constants ¶ This section is empty. Variables ¶ View Source var ( BinPattern = regexp.MustCompile(`^([\w\-]+2[\w\-]+)|(ux-[\w\-]+)$`) ) Functions ¶ func ForGenerator ¶ added in v0.0.9 func ForGenerator(g ux.Generator) ux.Plugin func Parse ¶ added in v0.0.5 func Parse(name string, parser Parser) (ux.Plugin, error) Types ¶ type Parser ¶ added in v0.0.9 type Parser interface { Parse(string) (ux.Plugin, error) } type Registry ¶ type Registry interface { Sources() iter.Seq[Source] } type Selector ¶ added in v0.0.9 type Selector interface { Select(iter.Seq[ux.Plugin]) (ux.Plugin, error) } type Source ¶ added in v0.0.9 type Source interface { Load(context.Context) (ux.Plugin, error) } Source Files ¶ View all Source files plugin.go Directories ¶ Show internal Expand all Path Synopsis cli conformance parser parse registry selector skel cmd source Click to show internal directories. Click to hide internal directories.