package cmd import ( "log" "github.com/spf13/cobra" ) var itemEditCmd = &cobra.Command{ Use: "edit", Short: "Edit an item", Long: ` `, Run: func(cmd *cobra.Command, args []string) { log.Fatal("not implemented") }, } func init() { itemCmd.AddCommand(itemEditCmd) }