Documentation ¶
Index ¶
- type Generator
- func (Generator) CmdName() string
- func (Generator) Description() string
- func (g *Generator) Flags() *pflag.FlagSet
- func (mg *Generator) Generate(ctx context.Context, root string, args []string) error
- func (mg *Generator) GenerateResourceModels(ctx context.Context, root string, args []string) error
- func (Generator) PluginName() string
- func (g *Generator) PrintFlags(w io.Writer) error
- func (g *Generator) ResourceFlags() []*pflag.Flag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
func (Generator) Description ¶
func (*Generator) Generate ¶
Generate implements generate.Generator and is the entry point for `buffalo generate model`
func (*Generator) GenerateResourceModels ¶
GenerateResourceModels implements resource.Modeler and is responsible for generating a model during `buffalo generate resource`
func (Generator) PluginName ¶
func (*Generator) ResourceFlags ¶
Click to show internal directories.
Click to hide internal directories.