cli / go-gh

A Go module for interacting with gh and the GitHub API from the command line.
https://pkg.go.dev/github.com/cli/go-gh/v2
MIT License
331 stars 48 forks source link

Refactor config package and add functionality #44

Closed samcoe closed 2 years ago

samcoe commented 2 years ago

This PR introduces a bunch of functionality necessary for gh to utilize go-gh for config handling.

Things changed:

I added inline comments and questions for design decisions.

Note: This PR is not as long as it seems, lots of code was just shuffled around.

cc https://github.com/cli/cli/issues/5560

samcoe commented 2 years ago

@mislav This is ready for re-review when you get a chance 🙇