You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cointop/cointop/cmd/cmd.go

20 lines
273 B
Go

package cmd
// Execute executes the program
func Execute() {
rootCmd := RootCmd()
rootCmd.AddCommand(
VersionCmd(),
CleanCmd(),
ResetCmd(),
PriceCmd(),
HoldingsCmd(),
ServerCmd(),
TestCmd(),
)
if err := rootCmd.Execute(); err != nil {
panic(err)
}
}