Files
GoSally/cmd/run.go
2025-09-12 19:13:46 +03:00

21 lines
390 B
Go

package cmd
import (
"github.com/akyaiy/GoSally-mvp/hooks"
"github.com/spf13/cobra"
)
var runCmd = &cobra.Command{
Use: "run",
Aliases: []string{"r"},
Short: "Run node normally",
Long: `
"run" starts the node with settings depending on the configuration file`,
// hooks.Run essentially the heart of the program
Run: hooks.Run,
}
func init() {
rootCmd.AddCommand(runCmd)
}