mirror of
https://github.com/passbolt/go-passbolt-cli.git
synced 2025-05-11 02:28:22 +00:00
20 lines
447 B
Go
20 lines
447 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/passbolt/go-passbolt-cli/folder"
|
|
"github.com/passbolt/go-passbolt-cli/resource"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
// shareCmd represents the share command
|
|
var shareCmd = &cobra.Command{
|
|
Use: "share",
|
|
Short: "Shares a Passbolt Entity",
|
|
Long: `Shares a Passbolt Entity`,
|
|
}
|
|
|
|
func init() {
|
|
rootCmd.AddCommand(shareCmd)
|
|
shareCmd.AddCommand(resource.ResourceShareCmd)
|
|
shareCmd.AddCommand(folder.FolderShareCmd)
|
|
}
|