/* Copyright © 2023 NAME HERE */ package cmd import ( "fmt" "github.com/spf13/cobra" "github.com/Fishwaldo/go-yocto/cmd/source" ) // sourceCmd represents the source command var sourceCmd = &cobra.Command{ Use: "source", Short: "A brief description of your command", Long: `A longer description that spans multiple lines and likely contains examples and usage of using your command. For example: Cobra is a CLI library for Go that empowers applications. This application is a tool to generate the needed files to quickly create a Cobra application.`, Run: func(cmd *cobra.Command, args []string) { fmt.Println("source called") }, } func init() { rootCmd.AddCommand(sourceCmd) sourceCmd.AddCommand(cmdSource.SearchCmd) }