Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Globals ¶
type Globals struct {
Version VersionFlag `name:"version" help:"Print version information and quit"`
Debug bool `short:"D" help:"Enable debug mode"`
}
type ModuleCmd ¶
type ModuleCmd struct {
Name string `arg:"" required:"" help:"The name of the module to operate on."`
Group string `` /* 174-byte string literal not displayed */
Path string `` /* 152-byte string literal not displayed */
WithExamples bool `name:"with-examples" help:"Generate examples for the module."`
WithTests bool `name:"with-tests" help:"Generate tests for the module."`
}
type TfCmd ¶
type TfCmd struct {
ModuleCmd ModuleCmd `` /* 843-byte string literal not displayed */
}
type VersionFlag ¶
type VersionFlag string
func (VersionFlag) BeforeApply ¶
func (VersionFlag) Decode ¶
func (v VersionFlag) Decode(ctx *kong.DecodeContext) error
func (VersionFlag) IsBool ¶
func (v VersionFlag) IsBool() bool
Click to show internal directories.
Click to hide internal directories.