A command-line tool that simplifies the GitHub PR review process by allowing developers to approve pull requests directly from their terminal.
- Approve PRs without leaving your terminal
- View open PRs with their status in an interactive interface
- Review PR code changes with syntax highlighting
- View PR descriptions with formatted markdown
- Open PRs in browser when needed
- Smart CI status checking before approval
npm install -g lgtm-cliBasic PR approval:
lgtm 123Interactive PR selection:
lgtmList open PRs:
lgtm --listReview PR code changes:
lgtm 123 --reviewView PR description:
lgtm 123 --descriptionOpen PR in browser:
lgtm 123 --open- Node.js 16.x to 23.x
- GitHub account with access to repositories
# Clone the repository
git clone https://github.com/username/lgtm-cli.git
cd lgtm-cli
# Install dependencies
npm install
# Build the project
npm run build
# Run tests
npm testnpm run build- Build the projectnpm run dev- Run in development modenpm test- Run testsnpm run lint- Run lintingnpm run format- Format code
MIT