Skip to content

feat: config 명령 구현 #19

@serithemage

Description

@serithemage

개요

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/ 패키지 활용

관련 이슈

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions