개요
CLI에서 설정을 관리할 수 있는 config 명령 구현
작업 범위
config show
- 현재 설정 표시 (환경 변수, 설정 파일)
- 활성화된 파서, LLM 프로바이더 표시
config set
config init
- 기본 설정 파일 생성 (~/.hwp2md.yaml 또는 .hwp2md.yaml)
- 대화형 설정 마법사 (선택적)
설정 항목
parser: native, upstage
llm.enabled: true/false
llm.provider: anthropic, openai, gemini, upstage, ollama
llm.model: 모델 이름
llm.base_url: 프라이빗 API 엔드포인트
참고
- 기존 환경 변수와의 우선순위: 환경 변수 > 설정 파일 > 기본값
internal/config/ 패키지 활용
관련 이슈
개요
CLI에서 설정을 관리할 수 있는
config명령 구현작업 범위
config show
config set
config init
설정 항목
parser: native, upstagellm.enabled: true/falsellm.provider: anthropic, openai, gemini, upstage, ollamallm.model: 모델 이름llm.base_url: 프라이빗 API 엔드포인트참고
internal/config/패키지 활용관련 이슈