notion-github 0.2.0 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1 +1,62 @@
1
- hello
1
+ # notion-github CLI
2
+
3
+ GitHub PR 생성을 자동화하는 CLI 도구입니다.
4
+
5
+ ## 설치
6
+
7
+ ```bash
8
+ npm install -g notion-github
9
+ ```
10
+
11
+ ## 사전 준비사항
12
+
13
+ 1. GitHub Personal Access Token 발급
14
+
15
+ - [GitHub Token 발급 가이드](./docs/GITHUB_TOKEN.md)를 참고하여 토큰을 발급받으세요.
16
+ - 발급받은 토큰을 환경변수로 설정:
17
+ ```bash
18
+ export GITHUB_TOKEN=your_token_here
19
+ ```
20
+
21
+ 2. Repository 접근 권한 확인
22
+ - PR을 생성하려는 repository에 대한 write 권한이 있어야 합니다.
23
+
24
+ ## 사용법
25
+
26
+ ### PR 생성
27
+
28
+ ```bash
29
+ pr-cli create --title "PR 제목" --description "PR 설명" --head feature/branch --repo owner/repo
30
+ ```
31
+
32
+ ### 필수 옵션
33
+
34
+ - `--title`: PR 제목
35
+ - `--head`: PR을 생성할 소스 브랜치
36
+ - `--repo`: 대상 레포지토리 (예: owner/repo)
37
+
38
+ ### 선택 옵션
39
+
40
+ - `--description`: PR 설명
41
+ - `--base`: PR을 병합할 대상 브랜치 (기본값: main)
42
+
43
+ ### 도움말
44
+
45
+ ```bash
46
+ pr-cli --help # 전체 도움말
47
+ pr-cli create --help # create 명령어 도움말
48
+ ```
49
+
50
+ ## 라이선스
51
+
52
+ MIT
53
+
54
+ ## 설정
55
+
56
+ 1. 프로젝트 디렉토리에 `ng-config.json` 파일을 생성합니다:
57
+
58
+ ```json
59
+ {
60
+ "githubToken": "your_github_token_here"
61
+ }
62
+ ```