Archived
1
This repository has been archived on 2025-08-09. You can view files and clone it, but cannot push or open issues or pull requests.
Files
playbookctl/cmd/restore.go
2024-12-19 18:48:26 +03:00

25 lines
462 B
Go

package cmd
import (
"fmt"
"github.com/spf13/cobra"
)
func NewCommandRestore() *cobra.Command {
spaceCmd := &cobra.Command{
Use: "restore",
Short: "восстановить резервную копированию пространства",
RunE: restoreRunE,
}
return spaceCmd
}
func restoreRunE(_ *cobra.Command, args []string) error {
fmt.Println("[dummy] restore")
for _, elm := range args {
fmt.Printf("- %s\n", elm)
}
return nil
}