Skip to content

Commit e406d35

Browse files
committed
Implement actual searching of PRs
1 parent 23bbfe4 commit e406d35

File tree

6 files changed

+1822
-18
lines changed

6 files changed

+1822
-18
lines changed

cmd/kepctl/helper.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,5 @@ func addRepoPathFlag(
2727
opts *kepctl.CommonArgs,
2828
) {
2929
f.StringVar(&opts.RepoPath, "repo-path", "", "Path to kubernetes/enhancements")
30+
f.StringVar(&opts.TokenPath, "gh-token-path", "", "Path to a file with a GitHub API token")
3031
}

go.mod

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@ go 1.12
55
require (
66
github.com/google/go-github/v32 v32.1.0
77
github.com/olekukonko/tablewriter v0.0.4
8-
github.com/pkg/errors v0.8.0
8+
github.com/pkg/errors v0.9.1
99
github.com/spf13/cobra v1.0.0
10-
github.com/spf13/pflag v1.0.3
11-
github.com/stretchr/testify v1.2.2
12-
gopkg.in/yaml.v2 v2.2.8
10+
github.com/spf13/pflag v1.0.5
11+
github.com/stretchr/testify v1.5.1
12+
golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
13+
gopkg.in/yaml.v2 v2.3.0
14+
k8s.io/test-infra v0.0.0-20200813194141-e9678d500461
1315
sigs.k8s.io/yaml v1.2.0
1416
)

0 commit comments

Comments
 (0)