goblin/cmd/main.go

15 lines
220 B
Go
Raw Normal View History

2023-09-07 21:06:26 +03:00
package cmd
import (
"fmt"
"os"
)
// Execute adds all child commands to the root command and sets flags appropriately.
func Execute() {
if err := rootCmd.Execute(); err != nil {
fmt.Println(err)
os.Exit(1)
}
}