prysm-pulse/cmd/prysmctl/deprecated/checkpoint/save.go
terencechain 83932d8e05
Refactor Error String Formatting According to Go Best Practices (#13092)
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-10-23 07:57:25 +00:00

18 lines
387 B
Go

package checkpoint
import (
"fmt"
"github.com/urfave/cli/v2"
)
var saveCmd = &cli.Command{
Name: "save",
Usage: "deprecated - please use 'prysmctl checkpoint-sync download' instead!",
Action: cliActionDeprecatedSave,
}
func cliActionDeprecatedSave(_ *cli.Context) error {
return fmt.Errorf("this command has moved. Please use 'prysmctl checkpoint-sync download' instead")
}