gh-cache-list - Man Page

List Github Actions caches

Synopsis

gh cache list [flags]

Options

-L,  --limit <int>

Maximum number of caches to fetch

-O,  --order <string>

Order of caches returned: {asc|desc}

-S,  --sort <string>

Sort fetched caches: {created_at|last_accessed_at|size_in_bytes}

Options Inherited from Parent Commands

-R,  --repo <[HOST/]OWNER/REPO>

Select another repository using the [HOST/]OWNER/REPO format

Example

# List caches for current repository
$ gh cache list

# List caches for specific repository
$ gh cache list --repo cli/cli

# List caches sorted by least recently accessed
$ gh cache list --sort last_accessed_at --order asc

See Also

gh-cache(1)

Referenced By

gh-cache(1).

Aug 2023 GitHub CLI manual