feat(cli): 언어 옵션 plumbing 추가 - #84
Merged
Merged
Conversation
CLI 전역 --lang ko|en 옵션을 파싱하고 help 및 reporter 호출 경로에 언어 값을 전달합니다. Closes #79
Owner
Author
|
독립 fresh-session 리뷰 결과
|
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.
배경
#79는 CLI 전역 언어 옵션을 추가하고 후속 한글 기본 출력 작업에서 사용할 language plumbing을 준비하는 작업입니다.
변경 사항
ReportLanguage와CliArgs.lang을 추가하고 기본값을ko로 설정했습니다.--lang ko|en파싱과 invalid value usage error를 추가했습니다.help,--help경로가 language에 맞는 help를 출력하도록 정리했습니다.검증
git diff --checkcargo test -p legolas-cli --test cli_contractcargo test -p legolas-cli --test config_contractcargo fmt --all --checkcargo test -p legolas-clicargo test --workspacecargo clippy --workspace --all-targets -- -D warnings리뷰 게이트
브랜치 / 워크트리
codex/feat-79-lang-plumbing/tmp/legolas-wave1/issue-79-lang-plumbingCloses #79