Commit graph

21 commits

Author SHA1 Message Date
Alan Donovan
f4491c7a80 Add FlagErrorf; encapsulate FlagError.error 2021-10-21 11:40:20 -04:00
Mislav Marohnić
619333adb6 Avoid using error values to pass information about the search cap 2021-09-06 16:09:18 +02:00
Des Preston
e8b015b80d show warning when limit exceeds search api max
Fixes #3839
2021-09-06 16:05:11 +02:00
Mislav Marohnić
11fbb60ae7 Rename the module to "github.com/cli/cli/v2" 2021-08-25 12:41:30 +02:00
Heath Stewart
e2973453b5
Add helper template functions for rendering tables (#3519)
Co-authored-by: Mislav Marohnić <mislav@github.com>
2021-08-23 21:00:25 +02:00
lepasq
998a29d391 Update list_test.go to include topics as well 2021-08-15 14:31:24 +02:00
lepasq
87e5e6f2e3 Add topic filter to repository listing 2021-08-14 19:12:59 +02:00
Mislav Marohnić
3f3d4e38d4 Avoid crash when --json doesn't request nameWithOwner 2021-05-17 16:43:39 +02:00
Mislav Marohnić
a2307e357d Add repo list --json support 2021-05-17 16:32:01 +02:00
Sam
9ec1e21d4c
Default to GHES host if only GHES is authenticated (#3286) 2021-03-30 16:51:00 +02:00
Mislav Marohnić
179d3f0249 Add a unified GitHub Search query builder 2021-03-23 18:52:58 +01:00
Mislav Marohnić
e27a77fc99 Add ability to filter by archived in repo list
Like `--language`, archived filters also use the Search API.
2021-02-27 17:20:06 +01:00
Mislav Marohnić
5da8301d5d Enable filtering repo list by coding language 2021-02-27 16:52:47 +01:00
Mislav Marohnić
f75144dd1f Enable pager for repo list output 2021-02-27 15:05:11 +01:00
Mislav Marohnić
2bdffc85e2 Isolate flag processing tests in repo list 2021-02-27 14:39:06 +01:00
Mislav Marohnić
1fa763f514 Avoid having to first query for username in repo list
Dynamically construct the GraphQL query by using the `viewer` connection
if the owner isn't set and the `repositoryOwner(login:"...")` connection
if the owner was set.
2021-02-27 14:38:56 +01:00
Mislav Marohnić
4da02614ed Switch repo list to query via graphql package
Also order results by PUSHED_AT instead of UPDATED_AT to match the web
interface.
2021-02-27 13:17:59 +01:00
Cristian Dominguez
2284ef43d0 repo list: add tests 2021-02-19 17:34:17 -03:00
Cristian Dominguez
cad875a05f repo list: render repo tags into the 3rd column instead of the 2nd 2021-02-18 19:02:59 -03:00
Cristian Dominguez
b7c2865d0f Remove archived filter from repo list 2021-02-18 17:34:00 -03:00
Cristian Dominguez
9a149d7694 Add repo list command 2021-02-11 19:44:47 -03:00