1GH-CACHE-LIST(1)               GitHub CLI manual              GH-CACHE-LIST(1)
2
3
4

NAME

6       gh-cache-list - List Github Actions caches
7
8
9

SYNOPSIS

11       gh cache list [flags]
12
13
14

OPTIONS

16       -q, --jq <expression>
17              Filter JSON output using a jq expression
18
19
20       --json <fields>
21              Output JSON with the specified fields
22
23
24       -L, --limit <int>
25              Maximum number of caches to fetch
26
27
28       -O, --order <string>
29              Order of caches returned: {asc|desc}
30
31
32       -S, --sort <string>
33              Sort fetched caches: {created_at|last_accessed_at|size_in_bytes}
34
35
36       -t, --template <string>
37              Format JSON output using a Go template; see "gh help formatting"
38
39
40

OPTIONS INHERITED FROM PARENT COMMANDS

42       -R, --repo <[HOST/]OWNER/REPO>
43              Select another repository using the [HOST/]OWNER/REPO format
44
45
46

EXAMPLE

48       # List caches for current repository
49       $ gh cache list
50
51       # List caches for specific repository
52       $ gh cache list --repo cli/cli
53
54       # List caches sorted by least recently accessed
55       $ gh cache list --sort last_accessed_at --order asc
56
57
58
59
60

SEE ALSO

62       gh-cache(1)
63
64
65
66                                   Nov 2023                   GH-CACHE-LIST(1)
Impressum