cli/command/root.go
2019-10-03 22:20:31 -05:00

17 lines
288 B
Go

package command
import (
"fmt"
"github.com/spf13/cobra"
)
var RootCmd = &cobra.Command{
Use: "gh",
Short: "GitHub CLI",
Long: `Do things with GitHub from your terminal`,
Args: cobra.MinimumNArgs(1),
Run: func(cmd *cobra.Command, args []string) {
fmt.Println("root")
},
}