mirror of
https://github.com/passbolt/go-passbolt-cli.git
synced 2025-09-13 23:09:08 +00:00
Implement copy to clipboard command for groups
subcommand
This commit is contained in:
parent
57e7978ce6
commit
043e303c9f
2 changed files with 136 additions and 0 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue