Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
2 tasks
ehddnr301 opened this issue May 15, 2025 · 0 comments · May be fixed by #109
Open
2 tasks

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

ehddnr301 opened this issue May 15, 2025 · 0 comments · May be fixed by #109
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers prompt The input provided by the user in natural language that serves as the basis for SQL generation.

Comments

@ehddnr301
Copy link
Collaborator

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 옵션 추가
  • 환경변수 등록 구현
@ehddnr301 ehddnr301 self-assigned this May 15, 2025
@ehddnr301 ehddnr301 added enhancement New feature or request good first issue Good for newcomers prompt The input provided by the user in natural language that serves as the basis for SQL generation. labels May 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers prompt The input provided by the user in natural language that serves as the basis for SQL generation.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant