Add Username Function

This commit is contained in:
2024-10-09 07:41:51 -05:00
parent 365e343a95
commit 822b978034
5 changed files with 127 additions and 15 deletions

View File

@@ -4,6 +4,8 @@ Copyright © 2024 Brian Buller <brian@bullercodeworks.com>
package cmd
import (
"fmt"
"git.bullercodeworks.com/brian/keepass-cli/models"
"github.com/spf13/cobra"
)
@@ -19,8 +21,9 @@ func init() {
rootCmd.AddCommand(testCmd)
}
func runTestCmd(cmd *cobra.Command, args []string) error {
func runTestCmd(_ *cobra.Command, args []string) error {
models.LoadFrequencies()
fmt.Println(args)
/*
var db *models.KeePassDB
pass, err := util.PromptUserForPassword("Master Password")