mirror of
https://github.com/passbolt/go-passbolt-cli.git
synced 2025-05-12 10:58:21 +00:00
21 lines
494 B
Go
21 lines
494 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/speatzle/go-passbolt-cli/folder"
|
|
"github.com/speatzle/go-passbolt-cli/resource"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
// updateCmd represents the update command
|
|
var updateCmd = &cobra.Command{
|
|
Use: "update",
|
|
Short: "Updates a Passbolt Entity",
|
|
Long: `Updates a Passbolt Entity`,
|
|
Aliases: []string{"change"},
|
|
}
|
|
|
|
func init() {
|
|
rootCmd.AddCommand(updateCmd)
|
|
updateCmd.AddCommand(resource.ResourceUpdateCmd)
|
|
updateCmd.AddCommand(folder.FolderUpdateCmd)
|
|
}
|