func runVersion(cmd *Command, args []string) { gitVersion, err := git.Version() utils.Check(err) ghVersion := fmt.Sprintf("gh version %s", Version) fmt.Println(gitVersion) fmt.Println(ghVersion) }
func runVersion(cmd *Command, args *Args) { gitVersion, err := git.Version() utils.Check(err) ghVersion := fmt.Sprintf("gh version %s", Version) fmt.Println(gitVersion) fmt.Println(ghVersion) os.Exit(0) }