add folder commands

This commit is contained in:
Samuel Lorch 2021-09-08 11:12:34 +02:00
parent b0303103da
commit 1b129332ae
12 changed files with 432 additions and 2 deletions

View file

@ -1,6 +1,7 @@
package cmd
import (
"github.com/speatzle/go-passbolt-cli/folder"
"github.com/speatzle/go-passbolt-cli/resource"
"github.com/spf13/cobra"
)
@ -16,6 +17,7 @@ var deleteCmd = &cobra.Command{
func init() {
rootCmd.AddCommand(deleteCmd)
deleteCmd.AddCommand(resource.ResourceDeleteCmd)
deleteCmd.AddCommand(folder.FolderDeleteCmd)
deleteCmd.PersistentFlags().String("id", "", "ID of the Entity to Delete")
}