Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CmdProtoDeps = &cobra.Command{ Use: "proto-deps", Short: "Generate a Proto dependencies", Long: `Generate a Proto dependencies`, RunE: func(cmd *cobra.Command, args []string) error { ctx := context.Background() generator, err := gen.NewGenerator(protodeps.Config{ ForceGenerate: flagForceGenerate, GithubToken: flagGitHubToken, ProtoDepsPath: flagProtoDepsPath, }) if err != nil { return fmt.Errorf("boiler: failed to create generator: %w", err) } if err = generator.Generate(ctx); err != nil { return fmt.Errorf("boiler: generator failed: %w", err) } log.Infof("boiler: proto dependencies generated") return nil }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.