mirror of
https://github.com/aykhans/movier.git
synced 2025-04-19 12:55:44 +00:00
21 lines
366 B
Go
21 lines
366 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var rootCmd = &cobra.Command{
|
|
Use: "movier",
|
|
Short: "Movie Recommendation System",
|
|
Run: func(cmd *cobra.Command, args []string) {
|
|
cmd.Help()
|
|
},
|
|
}
|
|
|
|
func Execute() error {
|
|
rootCmd.AddCommand(getDownloadCmd())
|
|
rootCmd.AddCommand(getFilterCmd())
|
|
rootCmd.AddCommand(getServeCmd())
|
|
return rootCmd.Execute()
|
|
}
|