feat(cli): 리포트 파일 출력 옵션 추가 - #96
Merged
Merged
Conversation
JeremyDev87
force-pushed
the
codex/feat-94-cli-output-file
branch
from
April 29, 2026 16:02
8ce776a to
9215a7d
Compare
--output 경로로 audit/doctor/fix 리포트를 저장하고 기본 stdout 동작은 유지합니다. 비 dry-run fix는 output target을 먼저 검증해 리포트 쓰기 실패 전에 대상 파일을 변경하지 않도록 했습니다. Closes #94
JeremyDev87
force-pushed
the
codex/feat-94-cli-output-file
branch
from
April 29, 2026 16:31
9215a7d to
b9a0450
Compare
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.
배경
CLI-IO-1의 리포트 파일 출력 구현입니다.maximus가 직접 결과 파일을 만들 수 있게 합니다.변경 사항
audit,doctor,fix에 공통--output <path>옵션을 추가했습니다.--output -는 기존 stdout 출력과 동일하게 동작합니다.fix의 실제 파일 변경 전 output target을 선검증해, 리포트 쓰기 실패가 대상 프로젝트 변경 뒤에 발생하지 않게 했습니다.검증
cargo test -p maximus-cli --test output_filecargo test -p maximus-cli --test cli_helpcargo test -p maximus-cli --test config_and_filteringcargo test -p maximus-cli parse_argsgit diff --checkrustfmt --check --config skip_children=true crates/maximus-cli/src/args.rs crates/maximus-cli/src/main.rs crates/maximus-core/src/fs.rs crates/maximus-core/src/lib.rs crates/maximus-cli/src/report_text.rs crates/maximus-cli/tests/cli_help.rs crates/maximus-cli/tests/output_file.rsDevil's Advocate review loop
--outputhelp 노출 누락. 반영 완료.fix --output쓰기 실패가 파일 변경 뒤에 발생. 반영 완료.브랜치 / 워크트리
mastercodex/feat-94-cli-output-file/private/tmp/maximus-wave1-20260430/issue-94-cli-output-file이슈 연결
Closes #94