mirror of
https://github.com/taigrr/mg.git
synced 2026-04-14 01:08:04 -07:00
21 lines
310 B
Go
21 lines
310 B
Go
package cmd
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
// diffCmd represents the diff command
|
|
var diffCmd = &cobra.Command{
|
|
Use: "diff",
|
|
Short: "compute a collective diff",
|
|
Run: func(cmd *cobra.Command, args []string) {
|
|
fmt.Println("diff called")
|
|
},
|
|
}
|
|
|
|
func init() {
|
|
rootCmd.AddCommand(diffCmd)
|
|
}
|