Documentation ¶
Index ¶
- func BindGenerate(ctx *Context, cmd *cobra.Command)
- func New(version string) *cobra.Command
- func NewGenerate(ctx *Context) *cobra.Command
- func NewGenerateGo(ctx *Context) *cobra.Command
- func NewGenerateManifest(ctx *Context) *cobra.Command
- func NewInit(ctx *Context) *cobra.Command
- func NewMarkers(ctx *Context) *cobra.Command
- func NewVersion(ctx *Context) *cobra.Command
- func ResolveManifestArgs(ctx *Context) cobra.PositionalArgs
- type Context
- type ContextGenerate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BindGenerate ¶
func NewGenerate ¶
func NewGenerateGo ¶
func NewGenerateManifest ¶
func NewMarkers ¶
func NewVersion ¶
func ResolveManifestArgs ¶
func ResolveManifestArgs(ctx *Context) cobra.PositionalArgs
ResolveManifestArgs resolves how many argument is accepted by the command at runtime
Types ¶
type Context ¶
type Context struct { Logger *slog.Logger DryRun bool Generate *ContextGenerate Version string }
type ContextGenerate ¶
type ContextGenerate struct {
Input string
}
Click to show internal directories.
Click to hide internal directories.