feat: CLI에 HWPX 자동 감지 지원 추가#220
Merged
Merged
Conversation
- 모든 CLI 명령어(to-json, to-html, to-markdown, info, extract-images, batch)에서 HWP/HWPX 자동 감지 (detect 함수 사용) - .hwpx 파일 입력 시 hwpxToJson/hwpxToHtml/hwpxToMarkdown 자동 사용 - batch 명령어: .hwp + .hwpx 파일 모두 검색 - description 업데이트 (HWP → HWP/HWPX) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- useless conversion, unnecessary cast, redundant closure 자동 수정 - write! → writeln! 변환 - unused import 제거 - nonminimal_bool allow 추가 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
detect함수).hwpx입력 시hwpxToJson/hwpxToHtml/hwpxToMarkdown자동 호출batch명령어:.hwp+.hwpx파일 모두 처리info명령어: HWPX 파일 정보 (섹션 수, 문단 수) 출력변경 파일
src-cli/index.ts: description 업데이트src-cli/commands/to-json.ts: detect + hwpxToJsonsrc-cli/commands/to-html.ts: detect + hwpxToHtmlsrc-cli/commands/to-markdown.ts: detect + hwpxToMarkdownsrc-cli/commands/info.ts: detect + hwpxToJsonsrc-cli/commands/extract-images.ts: detect + hwpxToMarkdownsrc-cli/commands/batch.ts: .hwpx 확장자 + detect사용법
Test plan
🤖 Generated with Claude Code