Add cache list key example to help

This commit is contained in:
William Martin 2024-02-09 17:19:31 +01:00
parent 662db3ca9e
commit b7ffe6ed27

View file

@ -48,6 +48,9 @@ func NewCmdList(f *cmdutil.Factory, runF func(*ListOptions) error) *cobra.Comman
# List caches sorted by least recently accessed
$ gh cache list --sort last_accessed_at --order asc
# List caches with a prefix (or exact match)
$ gh cache list --key key-prefix
`),
Aliases: []string{"ls"},
Args: cobra.NoArgs,