@bifos/dooray-cli 0.5.2 → 0.5.4
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 +76 -0
- package/dist/index.js +1219 -130
- package/package.json +6 -3
- package/skills/dooray-cli/SKILL.md +106 -5
package/README.md
CHANGED
|
@@ -39,6 +39,17 @@ dooray project list --search ocr # 코드로 검색
|
|
|
39
39
|
dooray project list --type private # 개인 프로젝트 목록
|
|
40
40
|
dooray project members tc-ocr # 멤버 목록
|
|
41
41
|
dooray project workflows tc-ocr # 워크플로우 목록
|
|
42
|
+
dooray project groups tc-ocr # 멤버 그룹 목록 (ID / Code)
|
|
43
|
+
dooray project tags tc-ocr # 태그 목록 (ID / Color / Name / Group / Mandatory)
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
> **태그 캐시 갱신**: 이전 버전에서 캐시한 태그가 색상 없이 표시되면 `dooray cache clear` 실행 후 다시 조회하세요.
|
|
47
|
+
|
|
48
|
+
### 멤버
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
dooray member list tc-ocr # 프로젝트 멤버 목록 (이름·organizationMemberId)
|
|
52
|
+
dooray member get <organizationMemberId> # 멤버 상세 (cache 우회, ADR-021)
|
|
42
53
|
```
|
|
43
54
|
|
|
44
55
|
### 업무
|
|
@@ -50,6 +61,17 @@ dooray post get tc-ocr 42 # 업무 상세
|
|
|
50
61
|
dooray post get tc-ocr 42 --json # JSON 출력
|
|
51
62
|
```
|
|
52
63
|
|
|
64
|
+
#### 업무 식별 방식 (post 하위 12개 명령 공통)
|
|
65
|
+
|
|
66
|
+
| 방식 | 예시 |
|
|
67
|
+
|---|---|
|
|
68
|
+
| `<project> <number>` | `dooray post get tc-ocr 42` |
|
|
69
|
+
| Dooray URL positional | `dooray post get https://x.dooray.com/task/to/4319587406666362045` |
|
|
70
|
+
| `--id <postId>` | `dooray post get --id 4319587406666362045` |
|
|
71
|
+
| `--url <url>` | `dooray post get --url https://x.dooray.com/task/to/...` |
|
|
72
|
+
|
|
73
|
+
대상: `post get`/`edit`/`done`/`workflow`, `post comment list`/`add`/`edit`/`delete`, `post file list`/`upload`/`download`/`download-all`/`delete`. AI 에이전트는 사용자 메시지의 Dooray URL을 그대로 첫 인자로 전달하면 가장 빠르다 (ADR-020).
|
|
74
|
+
|
|
53
75
|
### 업무 생성
|
|
54
76
|
|
|
55
77
|
```bash
|
|
@@ -61,8 +83,18 @@ dooray post create tc-ocr \
|
|
|
61
83
|
|
|
62
84
|
# 본문을 파일에서 읽기 (--body와 --body-file은 동시 사용 불가)
|
|
63
85
|
dooray post create tc-ocr --title "업무 제목" --body-file ./content.md
|
|
86
|
+
|
|
87
|
+
# 메타 옵션: --tag(반복) / --parent / --workflow / --milestone
|
|
88
|
+
dooray post create tc-ocr \
|
|
89
|
+
--title "업무 제목" --body "본문" --to "담당자이름" \
|
|
90
|
+
--tag "버그" --tag "긴급" \
|
|
91
|
+
--parent "tc-ocr/337" \
|
|
92
|
+
--workflow "진행 중" \
|
|
93
|
+
--milestone "Sprint 12"
|
|
64
94
|
```
|
|
65
95
|
|
|
96
|
+
> mandatory-tag 정책 프로젝트(예: `tc-ocr`)에서는 mandatory 그룹마다 1개 이상 `--tag`로 지정해야 한다. 누락 시 클라이언트가 사전 검증으로 후보 목록과 함께 에러 출력.
|
|
97
|
+
|
|
66
98
|
### 업무 수정
|
|
67
99
|
|
|
68
100
|
```bash
|
|
@@ -84,6 +116,41 @@ dooray post comment add tc-ocr 42 --body "댓글 내용"
|
|
|
84
116
|
dooray post comment add tc-ocr 42 --body-file ./comment.md
|
|
85
117
|
```
|
|
86
118
|
|
|
119
|
+
> table 출력의 Creator 컬럼은 프로젝트 멤버 캐시로 자동 enrich되며, `--json`은 raw 응답을 유지한다 (ADR-021).
|
|
120
|
+
|
|
121
|
+
#### comment list 필터 옵션
|
|
122
|
+
|
|
123
|
+
```bash
|
|
124
|
+
# 최신 5개 (desc 정렬)
|
|
125
|
+
dooray post comment list tc-ocr 42 --latest 5
|
|
126
|
+
|
|
127
|
+
# 특정 시간 이후 댓글만
|
|
128
|
+
dooray post comment list tc-ocr 42 --since 2026-04-27
|
|
129
|
+
|
|
130
|
+
# 작성자 이름으로 필터 (부분일치)
|
|
131
|
+
dooray post comment list tc-ocr 42 --from-author 홍길동
|
|
132
|
+
|
|
133
|
+
# 오름차순 / 내림차순 정렬
|
|
134
|
+
dooray post comment list tc-ocr 42 --sort asc
|
|
135
|
+
dooray post comment list tc-ocr 42 --sort desc
|
|
136
|
+
dooray post comment list tc-ocr 42 --reverse # --sort desc alias
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
#### comment latest
|
|
140
|
+
|
|
141
|
+
최신 댓글 1개(또는 N개)를 빠르게 조회한다.
|
|
142
|
+
|
|
143
|
+
```bash
|
|
144
|
+
# 최신 댓글 1개
|
|
145
|
+
dooray post comment latest tc-ocr 42
|
|
146
|
+
|
|
147
|
+
# 최신 3개
|
|
148
|
+
dooray post comment latest tc-ocr 42 -n 3
|
|
149
|
+
|
|
150
|
+
# URL로도 가능
|
|
151
|
+
dooray post comment latest --url <dooray-url>
|
|
152
|
+
```
|
|
153
|
+
|
|
87
154
|
### 상태 변경
|
|
88
155
|
|
|
89
156
|
```bash
|
|
@@ -151,6 +218,15 @@ dooray post file upload <project> <number> ./report.pdf
|
|
|
151
218
|
dooray post file delete <project> <number> <file-id>
|
|
152
219
|
```
|
|
153
220
|
|
|
221
|
+
URL/`--id`/`--url` 모드에서는 sub-id를 옵션으로 전달:
|
|
222
|
+
```bash
|
|
223
|
+
dooray post file download --url <url> --file-id <fileId> -o ./downloads
|
|
224
|
+
dooray post file delete --url <url> --file-id <fileId>
|
|
225
|
+
dooray post file upload --url <url> --file ./report.pdf
|
|
226
|
+
dooray post comment edit --url <url> --comment-id <commentId> --body "..."
|
|
227
|
+
dooray post comment delete --url <url> --comment-id <commentId>
|
|
228
|
+
```
|
|
229
|
+
|
|
154
230
|
## 출력 모드
|
|
155
231
|
|
|
156
232
|
| 플래그 | 설명 | 용도 |
|