Command-line toolkit for GitHub: authenticate once, set a repo, and work with issues in bulk or interactively. Includes a generator that syncs the CLI surface with the GitHub OpenAPI spec.
pnpm add -g @toneflix/grithub
# or npm i -g @toneflix/grithub- Login:
grithub login(opens browser flow, stores token locally) - Set default repo:
grithub set-repo owner/name - Inspect info:
grithub info - Work with issues (interactive):
grithub issuesto list, view, close/reopen, edit, or delete - Seed/update/delete issues in bulk:
grithub issues:seed,grithub issues:update,grithub issues:delete
The CLI can generate commands directly from the GitHub OpenAPI spec. This keeps available commands and params in sync with GitHub without hand-coding.
- Generate commands (writes
.grithub/apis.generated.js):grithub generate:apis
- Use generated commands (examples):
- Create issue:
grithub issues:create --title "Bug" --owner org --repo repo - List issues:
grithub issues:list-for-repo --owner org --repo repo - Get single issue:
grithub issues:get --owner org --repo repo --issue_number 123
- Create issue:
Notes
- The generator runs once and the CLI will auto-load
.grithub/apis.generated.json subsequent runs. - Only the command usage matters; you do not need to edit the generated file by hand.
Contributions are welcome! Please follow these steps:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
- Write TypeScript with proper type definitions
- Follow existing code style
- Add tests for new features
- Update documentation for API changes
- Ensure all tests pass before submitting PR
This project is licensed under the ISC License - see the LICENSE file for details.
- Email: support@toneflix.net
- Issues: GitHub Issues
- Docs: Octokit Documentation
- Docs: Github REST API Documentation
- Built with H3ravel Musket
- Powered by Github
- Tunneling by ngrok (coming soon)
© Copyright 2026 - ToneFlix Technologies Limited