Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CreateProjectCmd = &cobra.Command{ Use: "create-project", RunE: func(cmd *cobra.Command, args []string) error { err := config.BindCmdFlags(cmd) if err != nil { return err } r := genny.WetRunner(context.Background()) if config.GetBool("dry-run") { r = genny.DryRunner(context.Background()) } g := genny.New() setupSkeleton(g) goModuleInit(g) goModuleTidy(g) goModuleVendor(g) gofmt(g) err = r.With(g) if err != nil { return err } return r.Run() }, }
View Source
var GenProtoCmd = &cobra.Command{ Use: "gen-proto", RunE: func(cmd *cobra.Command, args []string) error { r := genny.WetRunner(context.Background()) if config.GetBool("dry-run") { r = genny.DryRunner(context.Background()) } g := genny.New() compileProto(g) gofmt(g) goModuleTidy(g) goModuleVendor(g) err := r.With(g) if err != nil { return err } return r.Run() }, }
View Source
var RootCmd = &cobra.Command{
Use: "rony",
}
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.