mirror of
https://github.com/passbolt/go-passbolt-cli.git
synced 2025-05-12 10:58:21 +00:00
23 lines
542 B
Go
23 lines
542 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/speatzle/go-passbolt-cli/folder"
|
|
"github.com/speatzle/go-passbolt-cli/group"
|
|
"github.com/speatzle/go-passbolt-cli/resource"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
// getCmd represents the get command
|
|
var getCmd = &cobra.Command{
|
|
Use: "get",
|
|
Short: "Gets a Passbolt Entity",
|
|
Long: `Gets a Passbolt Entity`,
|
|
Aliases: []string{"read"},
|
|
}
|
|
|
|
func init() {
|
|
rootCmd.AddCommand(getCmd)
|
|
getCmd.AddCommand(resource.ResourceGetCmd)
|
|
getCmd.AddCommand(folder.FolderGetCmd)
|
|
getCmd.AddCommand(group.GroupGetCmd)
|
|
}
|