Repository navigation
feat: 메가박스 CLI 명령 3종 추가 (#179) - #183
Closed
helenanova wants to merge 1 commit into
Closed
helenanova wants to merge 1 commit into
helenanova wants to merge 1 commit into
Conversation
서버에 이미 구현된 메가박스 API(megabox/theaters, megabox/movies, megabox/seats)를 CLI에서도 사용할 수 있도록 megabox-theaters, megabox-movies, megabox-seats 명령을 추가합니다. cgv/lottecinema 명령과 동일한 옵션 체계(keyword, lat/lng, playDate, theaterId, movieId, areaCode, limit)를 따릅니다.
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.
변경 요약
megabox-theaters,megabox-movies,megabox-seats)을 추가했습니다.cgv-*/lottecinema-*명령과 동일한 옵션 체계(keyword,lat/lng,playDate,theaterId,movieId,areaCode,limit)를 따라 CLI 도움말(--help)과 스킬 참고 문서(cli-command-map.md)도 함께 갱신했습니다.관련 이슈
체크리스트
npm run format:check통과npm run lint통과npm run typecheck통과npm test통과 (149개 파일, 1,713개 테스트)테스트 방법
각 명령의 API URL 조립을 검증하는 테스트 4건과 알 수 없는 옵션 거부 케이스 3건을
tests/app/cli.test.ts에 추가했습니다. 예시:참고 사항
src/api/megaboxHandlers.ts의 핸들러를 기준으로 맞췄습니다.limit은 기존 핸들러 구현과 동일하게 theaters(기본 10)와 seats(기본 50)에만 지원합니다.skills/daiso-cli/references/cli-command-map.md)만 갱신했습니다. README의 CLI 예시 목록은lottecinema-*명령도 포함하지 않고 있어, 선별적 예시 목록이라는 기존 구성을 유지했습니다.