mirror of
https://github.com/passbolt/go-passbolt-cli.git
synced 2025-05-11 02:28:22 +00:00
20 lines
436 B
Go
20 lines
436 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/passbolt/go-passbolt-cli/folder"
|
|
"github.com/passbolt/go-passbolt-cli/resource"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
// moveCmd represents the move command
|
|
var moveCmd = &cobra.Command{
|
|
Use: "move",
|
|
Short: "Moves a Passbolt Entity",
|
|
Long: `Moves a Passbolt Entity`,
|
|
}
|
|
|
|
func init() {
|
|
rootCmd.AddCommand(moveCmd)
|
|
moveCmd.AddCommand(resource.ResourceMoveCmd)
|
|
moveCmd.AddCommand(folder.FolderMoveCmd)
|
|
}
|