/* Copyright © 2024 Brian Buller */ package cmd import ( "fmt" "git.bullercodeworks.com/brian/keepass-cli/models" "github.com/spf13/cobra" ) // testCmd represents the test command var testCmd = &cobra.Command{ Use: "test", Short: "Run Tests", RunE: runTestCmd, } func init() { rootCmd.AddCommand(testCmd) } func runTestCmd(_ *cobra.Command, args []string) error { models.LoadFrequencies() fmt.Println(args) /* var db *models.KeePassDB pass, err := util.PromptUserForPassword("Master Password") if err != nil { return err } db, err = models.NewKeePassDB("/home/brbuller/Nextcloud/Apps/keys/keys.copy.kdbx", pass) if err != nil { return err } for _, v := range db.GetAllEntries() { fmt.Println(v) } */ return nil }