github.com/deso-protocol/core@v1.2.9/main.go (about) 1 package main 2 3 import ( 4 "github.com/deso-protocol/core/cmd" 5 ) 6 7 func main() { 8 // There is a lot of indirection here introduced by the fact that we are using Viper to 9 // manage our command-line flags. When this binary is run, a command is passed, such 10 // as "run," which triggers a Run() function defined in the cmd package. For example, 11 // calling: 12 // $ ./main run 13 // would trigger the Run() function defined in cmd/run.go. The flags that are available 14 // are also all defined in this file. 15 cmd.Execute() 16 }