Quick Start
Get up and running with Grithub in under 5 minutes.
Install
bash
pnpm add -g @toneflix/grithubbash
npm install -g @toneflix/grithubbash
yarn global add @toneflix/grithubAuthenticate
bash
grithub loginFollow the browser OAuth flow to grant access.
Set Default Repository
bash
grithub set-repo owner/repoCommon Workflows
Browse Issues Interactively
bash
grithub issuesNavigate through issues, view details, close/reopen, edit, or delete.
Create a Single Issue
bash
grithub issues:create --title "Bug found" --body "Description"Seed Multiple Issues
Create a directory with markdown files (one per issue):
md
issues/
├── 001-setup-ci.md
├── 002-add-tests.md
└── 003-update-docs.mdEach file:
markdown
---
type: Issue Type (Feature, Task, Bug)
title: Setup CI Pipeline
labels: ['enhancement', 'ci']
assignees: ['username']
---
Add GitHub Actions workflow for automated testing.Then seed:
bash
grithub issues:seed ./issuesUpdate Issues in Bulk
Modify your markdown files, then:
bash
grithub issues:update ./issuesGrithub uses smart diffing to update only changed content.
Delete Issues
Interactively multiselcet and delte issues
bash
grithub issues:deleteGenerated Commands
Generate CLI commands from GitHub's OpenAPI spec:
bash
grithub generate:apisNow use any GitHub REST endpoint:
bash
# List repos for authenticated user
grithub repos:list-for-authenticated-user --per_page 100
# Create a gist
grithub gists:create --description "My snippet" --public true
# Get user info
grithub users:get-authenticatedCommand Discovery
Run grithub --help to see all available commands, including generated ones and their expected options and arguments.
Configuration Tips
Check Current Config
bash
grithub infoEnable Debug Mode
bash
grithub config --debug trueSwitch Repositories Quickly
bash
grithub set-repo different-owner/different-repoNext Steps
- Getting Started Guide for detailed setup
- Commands Reference for all command options
