add basic operational commands

This commit is contained in:
Samuel Lorch 2021-09-08 10:54:20 +02:00
parent 64c878c9d5
commit 219c451098
12 changed files with 898 additions and 0 deletions

19
cmd/delete.go Normal file
View file

@ -0,0 +1,19 @@
package cmd
import (
"github.com/spf13/cobra"
)
// deleteCmd represents the delete command
var deleteCmd = &cobra.Command{
Use: "delete",
Short: "Deletes a Passbolt Entity",
Long: `Deletes a Passbolt Entity`,
Aliases: []string{"remove"},
}
func init() {
rootCmd.AddCommand(deleteCmd)
deleteCmd.PersistentFlags().String("id", "", "ID of the Entity to Delete")
}