Commit graph

15 commits

Author SHA1 Message Date
Andy Feller
d2cd14b4cd Remove out of scope changes, update list commands
After discussing this with the team, the `gh config` changes to display `accessible_colors` have been removed from this branch being outside of acceptance criteria.  This will be moved to a separate issue along with any other work needed to finalize the public preview such as `gh help` entries for `GH_ACCESSIBLE_COLORS` environment variable.

List commands that use ColorScheme.Gray have been updated to use ColorScheme.Muted.
2025-03-31 11:58:30 -04:00
Azeem Sajid
33c30d5bd1 Inconsistent format of examples in help text 2025-02-27 16:26:25 +05:00
William Martin
a569d1030d Export empty results for cache list 2024-11-06 13:02:14 +01:00
Viktor Szépe
6d9dd57774 Fix typos 2024-05-09 20:15:27 +00:00
William Martin
b7ea025475 Make minor cache list ref flag adjustments 2024-02-29 13:02:49 +01:00
toshimaru
818c158212
feat: Add ref option to gh cache list
List GitHub Actions caches with `ref` filtering.

> ref string
> The full Git reference for narrowing down the cache. The ref for a branch should be formatted as refs/heads/<branch name>. To reference a pull request use refs/pull/<number>/merge.

ref. https://docs.github.com/en/rest/actions/cache?apiVersion=2022-11-28#list-github-actions-caches-for-a-repository
2024-02-17 09:28:06 +09:00
William Martin
960c6662ca Update cache list key example to be clearer 2024-02-09 17:21:43 +01:00
William Martin
b7ffe6ed27 Add cache list key example to help 2024-02-09 17:19:31 +01:00
William Martin
8768eece8f Change cache list key to lowercase short 2024-02-09 17:14:59 +01:00
toshimaru
8252e59f17
feat: Add cache key option to gh cache list
Add `key` option to `gh cache list` command.

```
-K, --key string        Filter by cache key prefix
```

> An explicit key or prefix for identifying the cache

ref. https://docs.github.com/en/rest/actions/cache?apiVersion=2022-11-28#list-github-actions-caches-for-a-repository

- Add key option related tests to `TestNewCmdList`
2024-02-05 12:42:00 +09:00
William Martin
a9bdd8d186 Fix flaky tests coupled to relative dates 2023-12-13 14:44:16 +01:00
Heath Stewart
7738b6187c
Add headers to all tables (#8157) 2023-10-20 11:20:02 +02:00
Natsuki Ikeguchi
1749574310
feat(cache): Add JSON exporting support for cache list
Signed-off-by: Natsuki Ikeguchi <me@s6n.jp>
2023-09-07 01:35:03 +09:00
cawfeecake
aa231319ca
Add missing "ls" aliases to list commands (#7818) 2023-08-10 09:08:15 -07:00
Josh Kraft
213a59b8bd create cache commands 2023-05-03 11:03:50 -06:00