Since this is a tool specifically for the `gh` CLi tool, it may make sense to integrate with it directly. https://docs.github.com/en/github-cli/github-cli/creating-github-cli-extensions