-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Closed
Labels
enhancementa request to improve CLIa request to improve CLIhelp wantedContributions welcomeContributions welcome
Description
Describe the feature or problem you’d like to solve
When using gh ext browse to look for GH CLI extensions, gh creates and uses a cache ($TMPDIR/gh-cli-cache) through cli/go-gh that holds information about repositories with gh-extension topic. It is occasionally necessary to clear this cache especially when troubleshooting GH CLI extension browse experience, however these details are obscure, leading to wasted time digging into the guts or phoning a CLI friend to figure it out.
Proposed solution
I can see several possible solutions of various degrees:
- Documentation explaining the
gh-cli-cacheand repercussions of deleting it - Additional flag to
gh ext browsethat allows clearing browse specific cache information - Additional command to
ghthat allows clearing all cache
Additional context
- Create repository without
gh-extensiontopic gh ext browse, confirming repository does not show up- Update repository with
gh-extensiontopic gh ext browse, confirming repository does not show up due to cache- Delete cache directory,
rm -rf $TMPDIR/gh-cli-cache gh ext browse, confirming repository shows up
Metadata
Metadata
Assignees
Labels
enhancementa request to improve CLIa request to improve CLIhelp wantedContributions welcomeContributions welcome