Use an external command for clipboard

This commit is contained in:
2025-01-30 08:07:05 -06:00
parent e8bf42dd17
commit cf346ed025
5 changed files with 18 additions and 56 deletions

View File

@@ -5,8 +5,10 @@ package cmd
import (
"fmt"
"strings"
"git.bullercodeworks.com/brian/keepass-cli/models"
"git.bullercodeworks.com/brian/keepass-cli/util"
"github.com/spf13/cobra"
)
@@ -24,6 +26,7 @@ func init() {
func runTestCmd(_ *cobra.Command, args []string) error {
models.LoadFrequencies()
fmt.Println(args)
util.WriteToClipboard(strings.Join(args, " "))
/*
var db *models.KeePassDB
pass, err := util.PromptUserForPassword("Master Password")