Skip to content

Conversation

iamazeem
Copy link
Contributor

@iamazeem iamazeem commented Aug 27, 2025

Related: cli/cli#11572

Local testing by replacing go-gh module

cli/go.mod

replace github.com/cli/go-gh/v2 => ../go-gh

Test

# Get the title of the first issue from `cli/go-gh` repo
$ ./bin/gh issue list --repo cli/go-gh --limit 1 --json title --jq .[].title
Use UserCacheDir and UserConfigDir instead of custom implementation


# Get the title of the first issue from `cli/go-gh` repo and replace spaces with ellipsis
$ ./bin/gh issue list --repo cli/go-gh --limit 1 --json title --template '{{range .}}{{.title | replace " " "..."}}{{end}}'
Use...UserCacheDir...and...UserConfigDir...instead...of...custom...implementation

Signed-off-by: Azeem Sajid [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant