INNER CODE UNIT · Go
main
bjw-s-labs/helm-charts · tools/helm-schema-tools/cmd/helm-schema-tools/main.go:15
func main() {
rootCmd := &cobra.Command{
Use: "helm-schema-tools",
Short: "Tools for generating files from Helm chart JSON schemas",
Version: version,
}
rootCmd.AddCommand(generateCmd())
if err := rootCmd.Execute(); err != nil {
os.Exit(1)
}
}
func generateCmd() *cobra.Command {
cmd := &cobra.Command{
Use: "generate",
Short: "Generate files from JSON schemas",