mirror of
https://github.com/passbolt/go-passbolt-cli.git
synced 2025-09-13 14:59:09 +00:00
add basic operational commands
This commit is contained in:
parent
64c878c9d5
commit
219c451098
12 changed files with 898 additions and 0 deletions
19
cmd/delete.go
Normal file
19
cmd/delete.go
Normal 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")
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue