go-passbolt-cli/cmd/share.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)
}