Skip to content

환경변수 및 prompt 경로로 받아 업데이트 #108

@ehddnr301

Description

@ehddnr301

Why❓

  • 프로젝트 디렉토리에 하드코딩된 .env 대신, 사용자가 원하는 경로의 파일을 CLI 인자로 받아 환경 설정을 적용할 수 있도록 개선
  • Prompt도 코드 수정 없이 CLI에서 지정한 폴더 내 Markdown 파일로부터 업데이트할 수 있어야 함

How❓

  • cli/init.py--env-file-path--prompt-dir-path 옵션 추가
  • 지정된 경로의 .env 파일을 읽어 환경 변수로 로드하는 로직 구현
  • 지정된 폴더를 스캔해 모든 .md 파일을 필터링(파일명 기준)하고, 필요한 파일만 복사/이동하는 유틸 함수 추가
  • 프롬프트 업데이트 로직에서 기본 경로 대신 CLI로 받은 디렉토리를 참조하도록 수정

What❓

  • cli/init.py--env-file-path--prompt-dir-path 옵션 추가
  • 환경변수 등록 구현

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestgood first issueGood for newcomerspromptThe input provided by the user in natural language that serves as the basis for SQL generation.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions