Documentation ¶ Index ¶ Variables func ExecuteCmd() Constants ¶ This section is empty. Variables ¶ View Source var RootCmd = &cobra.Command{ Use: "gotoma", Short: "EthBerlin tomahawk!", Long: "EthBerlin tomahawk!", Run: func(cmd *cobra.Command, args []string) { _ = cmd.Help() }, } Functions ¶ func ExecuteCmd ¶ func ExecuteCmd() ExecuteCmd adds all child commands to the root command sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd. Types ¶ This section is empty. Source Files ¶ View all Source files cmd.go Click to show internal directories. Click to hide internal directories.