add group commands

This commit is contained in:
Samuel Lorch 2021-09-08 11:13:29 +02:00
parent 1b129332ae
commit 36c8318db1
12 changed files with 398 additions and 0 deletions

View file

@ -2,6 +2,7 @@ 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"
)
@ -18,6 +19,7 @@ func init() {
rootCmd.AddCommand(deleteCmd)
deleteCmd.AddCommand(resource.ResourceDeleteCmd)
deleteCmd.AddCommand(folder.FolderDeleteCmd)
deleteCmd.AddCommand(group.GroupDeleteCmd)
deleteCmd.PersistentFlags().String("id", "", "ID of the Entity to Delete")
}