protodeps

package
v0.0.0-...-5c3e8ab Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 8, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CmdProtoDeps = &cobra.Command{
	Use: "proto-deps",

	Short: "Init a Proto dependencies components",
	Long:  `Init a Proto dependencies components`,

	RunE: func(cmd *cobra.Command, args []string) error {
		ctx := context.Background()

		initor, err := gen.NewInitor(protodeps.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: proto dependencies components initialized")

		return nil
	},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL