Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GenerateCmd = cli.Command{ Name: "generate", ShortName: "g", Usage: "Perform code generation with given Generation Plan Specification", Before: func(ctx *cli.Context) (err error) { specPath := ctx.String("spec") if specPath == "" { return } if err := spec.ValidateSpec(specPath); err != nil { log.Printf("Validate specification %s error %+v", specPath, err) } return }, Action: doGenerate, Flags: []cli.Flag{ cli.StringFlag{Name: "spec", Usage: "Location of Generation Plan Specification"}, }, Subcommands: cli.Commands{generate.ORMCmd}, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.