Skip to content

KKPASII/pr-comment-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

pr-comment-cli

GitHub Pull Request 댓글을 터미널에서 조회하고,
PR/파일 기준으로 필터링하여 리뷰 흐름을 빠르게 확인할 수 있는 CLI 도구입니다.


🔗 배포 링크


🔥 프로젝트 소개

pr-comment-cli는 GitHub PR의 review comment / issue comment를 터미널 환경에서 효율적으로 탐색하기 위해 만든 Python 기반 CLI 도구입니다.

  • PR 단위 조회
  • 내 PR 목록 조회
  • 특정 파일 기준 필터링
  • 관련 PR(--about) 기준 댓글 추리기

기능을 CLI로 제공하도록 구현했습니다.


🎥 시연 영상


🚀 주요 기능

  • 🔐 GitHub Personal Access Token 저장 및 로드
  • ⚙️ 기본 owner / repo 설정 저장
  • 📋 전체 PR 목록 조회
  • 🙋 내 PR 목록 조회
  • 💬 특정 PR의 review comment / issue comment 조회
  • 📂 파일명 키워드 기준 댓글 필터링
  • 🔗 --about 옵션을 통한 관련 PR 변경 파일 기준 댓글 필터링
  • 🎨 rich 기반 터미널 UI 출력

🛠 기술 스택

⚙️ Core

Python

📦 Packaging

setuptools PyPI

🧩 Library

Requests Rich


📄 주요 명령어

1) GitHub 토큰 저장

pr-comment-cli --auth <YOUR_GITHUB_TOKEN>

2) 기본 저장소 설정

pr-comment-cli --set-owner <OWNER> --set-repo <REPO>

3) 전체 PR 목록 조회

pr-comment-cli --list-prs

4) 내 PR 목록 조회

pr-comment-cli --my-prs

5) 특정 PR 댓글 조회

pr-comment-cli --pr 123

6) 특정 파일 관련 댓글만 조회

pr-comment-cli --pr 123 --files controller service

7) 관련 PR 기준으로 댓글 필터링

pr-comment-cli --pr 123 --about <Base PR> <원하는 PR>

▶ 설치 및 실행

설치

pip install pr-comment-cli

실행 예시

pr-comment-cli --list-prs

About

"GitHub PR 댓글을 터미널에서 조회하는 CLI 도구"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors