mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-07 11:32:20 +00:00
19 lines
345 B
Go
19 lines
345 B
Go
|
package commands
|
||
|
|
||
|
import (
|
||
|
"github.com/ledgerwatch/turbo-geth/cmd/state/generate"
|
||
|
"github.com/spf13/cobra"
|
||
|
)
|
||
|
|
||
|
func init() {
|
||
|
rootCmd.AddCommand(seedSnapshotCmd)
|
||
|
}
|
||
|
|
||
|
var seedSnapshotCmd = &cobra.Command{
|
||
|
Use: "seedSnapshots",
|
||
|
Short: "Seed snapshots",
|
||
|
RunE: func(cmd *cobra.Command, args []string) error {
|
||
|
return generate.Seed(args)
|
||
|
},
|
||
|
}
|