mirror of
https://github.com/NotAShelf/goblin.git
synced 2024-11-25 14:46:46 +00:00
15 lines
220 B
Go
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)
|
|
}
|
|
}
|