Documentation ¶ Index ¶ func Generate(ctx context.Context, work Workspace, target Spec, input Input) error type Generator func Pick(plugins iter.Seq[Plugin], source, target Spec) (Generator, error) type Input type Plugin type Spec type Workspace Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Generate ¶ added in v0.0.3 func Generate(ctx context.Context, work Workspace, target Spec, input Input) error Types ¶ type Generator ¶ type Generator interface { Generate(context.Context, Input) error } func Pick ¶ added in v0.0.7 func Pick(plugins iter.Seq[Plugin], source, target Spec) (Generator, error) type Input ¶ type Input interface { Open() (io.Reader, error) Spec(context.Context) (Spec, error) } type Plugin ¶ type Plugin interface { Execute(args []string) error Generator(source, target Spec) (Generator, error) } type Spec ¶ added in v0.0.7 type Spec interface { fmt.Stringer } type Workspace ¶ added in v0.0.7 type Workspace interface { Plugins() iter.Seq[Plugin] } Source Files ¶ View all Source files ux.go Directories ¶ Show internal Expand all Path Synopsis cli cmd config input plugin cli conformance parser registry selector skel skel/cmd source spec work Click to show internal directories. Click to hide internal directories.