mirror of
https://github.com/grdl/git-get.git
synced 2026-02-04 15:39:46 +00:00
25 lines
254 B
Go
25 lines
254 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var cmd = &cobra.Command{
|
|
Use: "git-get",
|
|
Short: "git get",
|
|
}
|
|
|
|
func Execute() {
|
|
if err := cmd.Execute(); err != nil {
|
|
fmt.Println(err)
|
|
os.Exit(1)
|
|
}
|
|
}
|
|
|
|
func main() {
|
|
Execute()
|
|
}
|