Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CmdConfig = &cobra.Command{ Use: "config", Short: "Init a boiler app config", Long: `Init a boiler app config`, RunE: func(cmd *cobra.Command, args []string) error { ctx := context.Background() initor, err := gen.NewInitor(config.Config{}) if err != nil { return fmt.Errorf("boiler: failed to create initor: %w", err) } if err = initor.Init(ctx); err != nil { return fmt.Errorf("boiler: initor failed: %w", err) } log.Infof("boiler: app config initialized") return nil }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.