Implement copy to clipboard command for groups

subcommand
This commit is contained in:
PiMaDaum 2023-02-19 01:09:07 +01:00
parent 57e7978ce6
commit 043e303c9f
2 changed files with 136 additions and 0 deletions

View file

@ -2,6 +2,7 @@ package cmd
import (
"github.com/passbolt/go-passbolt-cli/folder"
"github.com/passbolt/go-passbolt-cli/group"
"github.com/passbolt/go-passbolt-cli/resource"
"github.com/spf13/cobra"
)
@ -24,5 +25,6 @@ func init() {
"\t--filter 'Username == \"User\" && CreatedTimestamp > timestamp(\"2022-06-10T00:00:00.000-00:00\")'")
toclipboardCmd.PersistentFlags().IntP("delay", "d", 5, "Seconds of delay to iterating over the column entries.")
toclipboardCmd.AddCommand(folder.FolderToClipboardCommand)
toclipboardCmd.AddCommand(group.GroupToClipboardCommand)
toclipboardCmd.AddCommand(resource.ResourceToClipboardCommand)
}