func ConfirmDelete(frame chronolib.Frame) bool {
	reader := bufio.NewReader(os.Stdin)
	fmt.Printf(chronolib.FormatFrameDelete(frame))
	text, _ := reader.ReadString('\n')
	text = strings.ToLower(strings.Replace(text, "\n", "", -1))
	return text == "y"
}
ConfirmDelete asks user if they are sure they want to delete the frame
package commands
import (
	"bufio"
	"fmt"
	"github.com/gochrono/chrono/chronolib"
	"github.com/spf13/cobra"
	"os"
	"strings"
)