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