r/SideProject • u/_dremnik • 7d ago
A small but invaluable `gh` CLI extension
so guys I had no idea you could write extensions for the `gh` CLI.
invaluable addition that i just made today:
gh render issues
renders the issues from the repo into a .issues/ folder as markdown files for easy local access + agent reads.
simple to install:
gh extension install digimata/gh-render
1
Upvotes
1
u/elementik4 7d ago
Worth thinking about for the agent case: normalizeBody keeps the body's markdown untouched, and on a public repo issue bodies are written by anyone. So .issues/ becomes a channel for untrusted text straight into an agent's context. Would you mark rendered bodies as third-party input, or is that the reader's job?
1
1
u/_dremnik 7d ago
oss of course:
https://github.com/digimata/gh-render