25 lines
389 B
Go
25 lines
389 B
Go
/*
|
|
Copyright © 2022 NAME HERE <EMAIL ADDRESS>
|
|
|
|
*/
|
|
package cmd
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
// dockerCmd represents the docker command
|
|
var dockerCmd = &cobra.Command{
|
|
Use: "docker",
|
|
Short: "Generate Dockerfile for API & Workers",
|
|
Run: func(cmd *cobra.Command, args []string) {
|
|
fmt.Println("docker called")
|
|
},
|
|
}
|
|
|
|
func init() {
|
|
generateCmd.AddCommand(dockerCmd)
|
|
}
|