Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmd ¶
func NewCmd(rendererFactory RendererFactory) *cobra.Command
Types ¶
type Renderer ¶
type Renderer interface {
RenderPackage(ctx context.Context, srcPath string, opts ...internalcmd.RenderPackageOption) (string, error)
}
type RendererFactory ¶
type RendererFactory interface {
Renderer() Renderer
}
Click to show internal directories.
Click to hide internal directories.