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 folder
subcommand
This commit is contained in:
parent
bf985e9da9
commit
9ea164200b
2 changed files with 145 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
package cmd
|
||||
|
||||
import (
|
||||
"github.com/passbolt/go-passbolt-cli/folder"
|
||||
"github.com/passbolt/go-passbolt-cli/resource"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
@ -22,5 +23,6 @@ func init() {
|
|||
"\t--filter '(Name == \"SomeName\" || matches(Name, \"RegExpr\")) && URI.startsWith(\"https://auth.\")'\n"+
|
||||
"\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(resource.ResourceToClipboardCommand)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue