Add `repo clone <repo>` command
Example usage:
- `gh repo clone OWNER/REPO`
- `gh repo clone OWNER/REPO -- -o upstream --depth 1`
- `gh repo clone https://github.com/OWNER/REPO.git`
- `gh repo clone git@github.com:OWNER/REPO.git`

Discuss:
- Should we make the `OWNER/` portion optional? In that case, what do we default to? https://github.com/cli/cli/issues/333#issuecomment-590566300
- Should we accept optional 2nd argument as directory destination like `git clone` does?
- There is currenly zero benefit for the user passing the full clone URL to `gh repo clone` over doing it with plain `git clone`. Should we still support the URL argument?
- Currently the shorthand `OWNER/REPO` expands to an HTTPS clone URL. How do we acommodate people who would prefer SSH clone URLs by default?

Fixes #333
### Describe the feature or problem you’d like to solve

I want a simpler way to clone a repo than having to remember or copy the syntax for a `git clone` from github.com.

### Proposed solution

I want to be able to clone a repo quickly and easily with either owner/repo or URL.

`gh repo clone [repo]`

Add ability to clone a repo
diff --git a/command/repo.go b/command/repo.go
index b00c3d87b1b..484ef609cce 100644
--- a/command/repo.go
+++ b/command/repo.go
@@ -2,8 +2,10 @@ package command
 
 import (
 	"fmt"
+	"os"
 	"strings"
 
+	"github.com/cli/cli/git"
 	"github.com/cli/cli/internal/ghrepo"
 	"github.com/cli/cli/utils"
 	"github.com/spf13/cobra"
@@ -11,6 +13,7 @@ import (
 
 func init() {
 	RootCmd.AddCommand(repoCmd)
+	repoCmd.AddCommand(repoCloneCmd)
 	repoCmd.AddCommand(repoViewCmd)
 }
 
@@ -24,6 +27,16 @@ A repository can be supplied as an argument in any of the following formats:
 - by URL, e.g. "https://github.com/OWNER/REPO"`,
 }
 
+var repoCloneCmd = &cobra.Command{
+	Use:   "clone <repo>",
+	Args:  cobra.MinimumNArgs(1),
+	Short: "Clone a repository locally",
+	Long: `Clone a GitHub repository locally.
+
+To pass 'git clone' options, separate them with '--'.`,
+	RunE: repoClone,
+}
+
 var repoViewCmd = &cobra.Command{
 	Use:   "view [<repo>]",
 	Short: "View a repository in the browser",
@@ -33,6 +46,23 @@ With no argument, the repository for the current directory is opened.`,
 	RunE: repoView,
 }
 
+func repoClone(cmd *cobra.Command, args []string) error {
+	cloneURL := args[0]
+	if !strings.Contains(cloneURL, ":") {
+		cloneURL = fmt.Sprintf("https://github.com/%s.git", cloneURL)
+	}
+
+	cloneArgs := []string{"clone"}
+	cloneArgs = append(cloneArgs, args[1:]...)
+	cloneArgs = append(cloneArgs, cloneURL)
+
+	cloneCmd := git.GitCommand(cloneArgs...)
+	cloneCmd.Stdin = os.Stdin
+	cloneCmd.Stdout = os.Stdout
+	cloneCmd.Stderr = os.Stderr
+	return utils.PrepareCmd(cloneCmd).Run()
+}
+
 func repoView(cmd *cobra.Command, args []string) error {
 	ctx := contextForCommand(cmd)
 

diff --git a/command/repo_test.go b/command/repo_test.go
index 6c4d6f1efa7..588ae3520f5 100644
--- a/command/repo_test.go
+++ b/command/repo_test.go
@@ -2,12 +2,65 @@ package command
 
 import (
 	"os/exec"
+	"strings"
 	"testing"
 
 	"github.com/cli/cli/context"
 	"github.com/cli/cli/utils"
 )
 
+func TestRepoClone(t *testing.T) {
+	tests := []struct {
+		name string
+		args string
+		want string
+	}{
+		{
+			name: "shorthand",
+			args: "repo clone OWNER/REPO",
+			want: "git clone https://github.com/OWNER/REPO.git",
+		},
+		{
+			name: "clone arguments",
+			args: "repo clone OWNER/REPO -- -o upstream --depth 1",
+			want: "git clone -o upstream --depth 1 https://github.com/OWNER/REPO.git",
+		},
+		{
+			name: "HTTPS URL",
+			args: "repo clone https://github.com/OWNER/REPO",
+			want: "git clone https://github.com/OWNER/REPO",
+		},
+		{
+			name: "SSH URL",
+			args: "repo clone git@github.com:OWNER/REPO.git",
+			want: "git clone git@github.com:OWNER/REPO.git",
+		},
+	}
+	for _, tt := range tests {
+		t.Run(tt.name, func(t *testing.T) {
+			var seenCmd *exec.Cmd
+			restoreCmd := utils.SetPrepareCmd(func(cmd *exec.Cmd) utils.Runnable {
+				seenCmd = cmd
+				return &outputStub{}
+			})
+			defer restoreCmd()
+
+			output, err := RunCommand(repoViewCmd, tt.args)
+			if err != nil {
+				t.Fatalf("error running command `repo clone`: %v", err)
+			}
+
+			eq(t, output.String(), "")
+			eq(t, output.Stderr(), "")
+
+			if seenCmd == nil {
+				t.Fatal("expected a command to run")
+			}
+			eq(t, strings.Join(seenCmd.Args, " "), tt.want)
+		})
+	}
+}
+
 func TestRepoView(t *testing.T) {
 	initBlankContext("OWNER/REPO", "master")
 	http := initFakeHTTP()

{"TestRepoClone/clone_arguments": {"run": "NONE", "test": "FAIL", "fix": "PASS"}, "TestRepoClone": {"run": "NONE", "test": "FAIL", "fix": "PASS"}, "TestRepoClone/shorthand": {"run": "NONE", "test": "FAIL", "fix": "PASS"}, "TestRepoClone/HTTPS_URL": {"run": "NONE", "test": "FAIL", "fix": "PASS"}, "TestRepoClone/SSH_URL": {"run": "NONE", "test": "FAIL", "fix": "PASS"}}
{"TestExtractName/Incomplete_front-matter": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPullRequest_ChecksStatus": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueCreate_webTitleBody": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueView_preview": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRView_urlArg": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestCompletion_fish": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRView_branchArg": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRCheckout_differentRepo_existingBranch": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestReplaceExcessiveWhitespace": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_sshParse": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestCheckForUpdate/current_is_prerelease": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestFind/Multiple_templates": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestFind": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestGitStatusHelperProcess": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRStatus_reviewsAndChecks": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestChangelogURL": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueStatus_disabledIssues": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueCreate": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestCheckForUpdate": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueView": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestTruncate/Korean_filled": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestGraphQLError": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRView_previewCurrentBranch": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestRepoView_ownerRepo": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestFind/Empty_multiple_templates_directory": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestExtractName": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestGraphQL": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRStatus_blankSlate": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestTruncate": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestTruncate/Japanese": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestForOS/Windows": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRView_branchWithOwnerArg": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestFuzzyAgo": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestCompletion_bash": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestTruncate/Chinese_filled": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestTruncate/Korean": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestExtractName/No_front-matter": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestRepoView": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRList": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_printError/Cobra_flag_error": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestCompletion_zsh": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestForOS": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRCheckout_differentRepo_remoteExists": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRCreate_ReportsUncommittedChanges": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestExtractName/Complete_front-matter": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRCheckout_urlArg": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueView_previewWithEmptyBody": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_UncommittedChangeCount": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_ttyTablePrinter_truncate": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueView_urlArg": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_printError/DNS_error": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueStatus": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestFind/Template_in_docs": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueCreate_web": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestExtractContents": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRCheckout_existingBranch": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestFind/Template_in_.github_takes_precedence": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_printError/generic_error": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueCreate_disabledIssues": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRList_filteringClosed": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestFind/Template_in_root": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestCompletion_unsupported": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRCheckout_sameRepo": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRCreate": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueList_disabledIssues": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_Translator": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRList_filteringAssignee": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRList_filteringAssigneeLabels": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRView_currentBranch": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueList_withFlags": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestExtractContents/Has_front-matter": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRView_previewCurrentBranchWithEmptyBody": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestExtractContents/No_front-matter": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRCheckout_differentRepo_currentBranch": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestCheckForUpdate/latest_is_older": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRView_preview": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueList": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRCheckout_maintainerCanModify": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueView_disabledIssues": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestCheckForUpdate/latest_is_current": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRView_numberArg": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRView_noResultsForBranch": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_printError": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestTruncate/Japanese_filled": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRCreate_web": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRStatus": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_printError/unknown_Cobra_command_error": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPrCreateHelperProcess": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestForOS/macOS": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestForOS/Linux": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRCheckout_branchArg": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_repoFromURL": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRCreate_cross_repo_same_branch": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_parseRemotes": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRCheckout_differentRepo": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueView_notFound": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPRList_filtering": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueStatus_blankSlate": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestRepoView_fullURL": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueList_nullAssigneeLabels": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestCheckForUpdate/latest_is_newer": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestTruncate/Chinese": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_repoFromURL_invalid": {"run": "PASS", "test": "PASS", "fix": "PASS"}}
{"TestRepoClone/clone_arguments": {"run": "NONE", "test": "FAIL", "fix": "PASS"}, "TestRepoClone": {"run": "NONE", "test": "FAIL", "fix": "PASS"}, "TestRepoClone/shorthand": {"run": "NONE", "test": "FAIL", "fix": "PASS"}, "TestRepoClone/HTTPS_URL": {"run": "NONE", "test": "FAIL", "fix": "PASS"}, "TestRepoClone/SSH_URL": {"run": "NONE", "test": "FAIL", "fix": "PASS"}}
{"passed_count": 103, "failed_count": 1, "skipped_count": 0, "passed_tests": ["TestExtractName/Incomplete_front-matter", "TestPullRequest_ChecksStatus", "TestIssueCreate_webTitleBody", "TestPRView_urlArg", "TestCompletion_fish", "TestPRView_branchArg", "TestReplaceExcessiveWhitespace", "TestFind/Multiple_templates", "TestFind", "TestPRStatus_reviewsAndChecks", "TestChangelogURL", "TestCheckForUpdate", "TestPRView_previewCurrentBranch", "TestGraphQL", "TestPRStatus_blankSlate", "TestTruncate", "TestTruncate/Japanese", "TestPRView_branchWithOwnerArg", "TestCompletion_bash", "TestExtractName/No_front-matter", "Test_printError/Cobra_flag_error", "TestCompletion_zsh", "TestForOS", "TestIssueView_previewWithEmptyBody", "Test_UncommittedChangeCount", "Test_ttyTablePrinter_truncate", "Test_printError/DNS_error", "TestIssueStatus", "TestFind/Template_in_docs", "TestExtractContents", "TestFind/Template_in_.github_takes_precedence", "Test_printError/generic_error", "TestPRList_filteringClosed", "TestPRCheckout_sameRepo", "TestIssueList_disabledIssues", "TestPRList_filteringAssigneeLabels", "TestPRView_currentBranch", "TestIssueList_withFlags", "TestExtractContents/Has_front-matter", "TestPRView_previewCurrentBranchWithEmptyBody", "TestPRView_preview", "TestIssueView_disabledIssues", "TestCheckForUpdate/latest_is_current", "TestPRCreate_web", "TestPRCheckout_branchArg", "TestPRCheckout_differentRepo", "TestPRList_filtering", "TestRepoView_fullURL", "Test_repoFromURL_invalid", "TestIssueView_preview", "TestPRCheckout_differentRepo_existingBranch", "Test_sshParse", "TestCheckForUpdate/current_is_prerelease", "TestGitStatusHelperProcess", "TestIssueStatus_disabledIssues", "TestIssueCreate", "TestIssueView", "TestTruncate/Korean_filled", "TestGraphQLError", "TestRepoView_ownerRepo", "TestFind/Empty_multiple_templates_directory", "TestExtractName", "TestForOS/Windows", "TestFuzzyAgo", "TestTruncate/Chinese_filled", "TestTruncate/Korean", "TestRepoView", "TestPRList", "TestPRCheckout_differentRepo_remoteExists", "TestPRCreate_ReportsUncommittedChanges", "TestExtractName/Complete_front-matter", "TestPRCheckout_urlArg", "TestIssueView_urlArg", "TestIssueCreate_web", "TestPRCheckout_existingBranch", "TestIssueCreate_disabledIssues", "TestFind/Template_in_root", "TestCompletion_unsupported", "TestPRCreate", "Test_Translator", "TestPRList_filteringAssignee", "TestExtractContents/No_front-matter", "TestPRCheckout_differentRepo_currentBranch", "TestCheckForUpdate/latest_is_older", "TestIssueList", "TestPRCheckout_maintainerCanModify", "TestPRView_numberArg", "TestPRView_noResultsForBranch", "Test_printError", "TestTruncate/Japanese_filled", "TestPRStatus", "Test_printError/unknown_Cobra_command_error", "TestPrCreateHelperProcess", "TestForOS/macOS", "TestForOS/Linux", "Test_repoFromURL", "TestPRCreate_cross_repo_same_branch", "Test_parseRemotes", "TestIssueView_notFound", "TestIssueStatus_blankSlate", "TestIssueList_nullAssigneeLabels", "TestCheckForUpdate/latest_is_newer", "TestTruncate/Chinese"], "failed_tests": ["github.com/cli/cli/context"], "skipped_tests": []}
{"passed_count": 103, "failed_count": 7, "skipped_count": 0, "passed_tests": ["TestExtractName/Incomplete_front-matter", "TestPullRequest_ChecksStatus", "TestIssueCreate_webTitleBody", "TestPRView_urlArg", "TestCompletion_fish", "TestPRView_branchArg", "TestReplaceExcessiveWhitespace", "TestFind/Multiple_templates", "TestFind", "TestPRStatus_reviewsAndChecks", "TestChangelogURL", "TestCheckForUpdate", "TestPRView_previewCurrentBranch", "TestGraphQL", "TestPRStatus_blankSlate", "TestTruncate", "TestTruncate/Japanese", "TestPRView_branchWithOwnerArg", "TestCompletion_bash", "TestExtractName/No_front-matter", "Test_printError/Cobra_flag_error", "TestCompletion_zsh", "TestForOS", "TestIssueView_previewWithEmptyBody", "Test_UncommittedChangeCount", "Test_ttyTablePrinter_truncate", "Test_printError/DNS_error", "TestIssueStatus", "TestFind/Template_in_docs", "TestExtractContents", "TestFind/Template_in_.github_takes_precedence", "Test_printError/generic_error", "TestPRList_filteringClosed", "TestPRCheckout_sameRepo", "TestIssueList_disabledIssues", "TestPRList_filteringAssigneeLabels", "TestPRView_currentBranch", "TestIssueList_withFlags", "TestExtractContents/Has_front-matter", "TestPRView_previewCurrentBranchWithEmptyBody", "TestPRView_preview", "TestIssueView_disabledIssues", "TestCheckForUpdate/latest_is_current", "TestPRCreate_web", "TestPRCheckout_branchArg", "TestPRCheckout_differentRepo", "TestPRList_filtering", "TestRepoView_fullURL", "Test_repoFromURL_invalid", "TestIssueView_preview", "TestPRCheckout_differentRepo_existingBranch", "Test_sshParse", "TestCheckForUpdate/current_is_prerelease", "TestGitStatusHelperProcess", "TestIssueStatus_disabledIssues", "TestIssueCreate", "TestIssueView", "TestTruncate/Korean_filled", "TestGraphQLError", "TestRepoView_ownerRepo", "TestFind/Empty_multiple_templates_directory", "TestExtractName", "TestForOS/Windows", "TestFuzzyAgo", "TestTruncate/Chinese_filled", "TestTruncate/Korean", "TestRepoView", "TestPRList", "TestPRCheckout_differentRepo_remoteExists", "TestPRCreate_ReportsUncommittedChanges", "TestExtractName/Complete_front-matter", "TestPRCheckout_urlArg", "TestIssueView_urlArg", "TestIssueCreate_web", "TestPRCheckout_existingBranch", "TestIssueCreate_disabledIssues", "TestFind/Template_in_root", "TestCompletion_unsupported", "TestPRCreate", "Test_Translator", "TestPRList_filteringAssignee", "TestExtractContents/No_front-matter", "TestPRCheckout_differentRepo_currentBranch", "TestCheckForUpdate/latest_is_older", "TestIssueList", "TestPRCheckout_maintainerCanModify", "TestPRView_numberArg", "TestPRView_noResultsForBranch", "Test_printError", "TestTruncate/Japanese_filled", "TestPRStatus", "Test_printError/unknown_Cobra_command_error", "TestPrCreateHelperProcess", "TestForOS/macOS", "TestForOS/Linux", "Test_repoFromURL", "TestPRCreate_cross_repo_same_branch", "Test_parseRemotes", "TestIssueView_notFound", "TestIssueStatus_blankSlate", "TestIssueList_nullAssigneeLabels", "TestCheckForUpdate/latest_is_newer", "TestTruncate/Chinese"], "failed_tests": ["TestRepoClone", "TestRepoClone/SSH_URL", "github.com/cli/cli/context", "TestRepoClone/HTTPS_URL", "github.com/cli/cli/command", "TestRepoClone/shorthand", "TestRepoClone/clone_arguments"], "skipped_tests": []}
{"passed_count": 108, "failed_count": 1, "skipped_count": 0, "passed_tests": ["TestExtractName/Incomplete_front-matter", "TestPullRequest_ChecksStatus", "TestIssueCreate_webTitleBody", "TestPRView_urlArg", "TestCompletion_fish", "TestPRView_branchArg", "TestReplaceExcessiveWhitespace", "TestFind/Multiple_templates", "TestFind", "TestPRStatus_reviewsAndChecks", "TestRepoClone", "TestChangelogURL", "TestCheckForUpdate", "TestPRView_previewCurrentBranch", "TestGraphQL", "TestPRStatus_blankSlate", "TestTruncate", "TestTruncate/Japanese", "TestPRView_branchWithOwnerArg", "TestCompletion_bash", "TestExtractName/No_front-matter", "Test_printError/Cobra_flag_error", "TestCompletion_zsh", "TestForOS", "TestIssueView_previewWithEmptyBody", "Test_UncommittedChangeCount", "Test_ttyTablePrinter_truncate", "Test_printError/DNS_error", "TestIssueStatus", "TestFind/Template_in_docs", "TestExtractContents", "TestFind/Template_in_.github_takes_precedence", "Test_printError/generic_error", "TestPRList_filteringClosed", "TestPRCheckout_sameRepo", "TestIssueList_disabledIssues", "TestPRList_filteringAssigneeLabels", "TestPRView_currentBranch", "TestIssueList_withFlags", "TestExtractContents/Has_front-matter", "TestPRView_previewCurrentBranchWithEmptyBody", "TestPRView_preview", "TestIssueView_disabledIssues", "TestRepoClone/HTTPS_URL", "TestCheckForUpdate/latest_is_current", "TestPRCreate_web", "TestPRCheckout_branchArg", "TestPRCheckout_differentRepo", "TestPRList_filtering", "TestRepoView_fullURL", "Test_repoFromURL_invalid", "TestIssueView_preview", "TestPRCheckout_differentRepo_existingBranch", "Test_sshParse", "TestCheckForUpdate/current_is_prerelease", "TestRepoClone/clone_arguments", "TestGitStatusHelperProcess", "TestIssueStatus_disabledIssues", "TestIssueCreate", "TestIssueView", "TestTruncate/Korean_filled", "TestGraphQLError", "TestRepoView_ownerRepo", "TestFind/Empty_multiple_templates_directory", "TestExtractName", "TestForOS/Windows", "TestFuzzyAgo", "TestRepoClone/shorthand", "TestTruncate/Chinese_filled", "TestTruncate/Korean", "TestRepoView", "TestPRList", "TestPRCheckout_differentRepo_remoteExists", "TestPRCreate_ReportsUncommittedChanges", "TestExtractName/Complete_front-matter", "TestPRCheckout_urlArg", "TestIssueView_urlArg", "TestIssueCreate_web", "TestPRCheckout_existingBranch", "TestIssueCreate_disabledIssues", "TestFind/Template_in_root", "TestCompletion_unsupported", "TestPRCreate", "Test_Translator", "TestPRList_filteringAssignee", "TestExtractContents/No_front-matter", "TestPRCheckout_differentRepo_currentBranch", "TestCheckForUpdate/latest_is_older", "TestIssueList", "TestPRCheckout_maintainerCanModify", "TestPRView_numberArg", "TestPRView_noResultsForBranch", "Test_printError", "TestTruncate/Japanese_filled", "TestPRStatus", "Test_printError/unknown_Cobra_command_error", "TestPrCreateHelperProcess", "TestForOS/macOS", "TestForOS/Linux", "TestRepoClone/SSH_URL", "Test_repoFromURL", "TestPRCreate_cross_repo_same_branch", "Test_parseRemotes", "TestIssueView_notFound", "TestIssueStatus_blankSlate", "TestIssueList_nullAssigneeLabels", "TestCheckForUpdate/latest_is_newer", "TestTruncate/Chinese"], "failed_tests": ["github.com/cli/cli/context"], "skipped_tests": []}