goblin/cmd/main.go
2023-09-07 22:10:15 +03:00

15 lines
220 B
Go

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)
}
}