File tree Expand file tree Collapse file tree 3 files changed +0
-24
lines changed Expand file tree Collapse file tree 3 files changed +0
-24
lines changed Original file line number Diff line number Diff line change @@ -515,8 +515,6 @@ async function main() {
515515 const originalArgv = process . argv ;
516516 process . argv = [ 'node' , 'src/index.js' , ...exportArgs ] ;
517517
518- console . log ( `실행 명령어: node src/index.js ${ exportArgs . join ( ' ' ) } \n` ) ;
519-
520518 // index.js의 main 함수를 직접 호출
521519 await indexMain ( ) ;
522520
Original file line number Diff line number Diff line change @@ -56,26 +56,6 @@ class FileUtils {
5656 return `${ d . getFullYear ( ) } ${ pad ( d . getMonth ( ) + 1 ) } ${ pad ( d . getDate ( ) ) } ${ pad ( d . getHours ( ) ) } ${ pad ( d . getMinutes ( ) ) } ${ pad ( d . getSeconds ( ) ) } ` ;
5757 }
5858
59- /**
60- * 사용 가능한 XML 파일 목록 출력
61- * @param {string } directory - 검색할 디렉토리 (기본값: 'queries')
62- */
63- static printAvailableXmlFiles ( directory = 'queries' ) {
64- const dir = path . join ( APP_ROOT , directory ) ;
65- if ( ! fs . existsSync ( dir ) ) return ;
66-
67- const files = fs . readdirSync ( dir ) . filter ( f => f . endsWith ( '.xml' ) ) ;
68- if ( files . length > 0 ) {
69- console . log ( '-------------------------------------------------------------------------------' ) ;
70- console . log ( `[INFO] 사용 가능한 XML 쿼리 정의 파일 목록:` ) ;
71- console . log ( '-------------------------------------------------------------------------------' ) ;
72- files . forEach ( f => console . log ( ` - ${ directory } /` + f ) ) ;
73- console . log ( '-------------------------------------------------------------------------------' ) ;
74- } else {
75- console . log ( `[INFO] ${ directory } 폴더에 XML 쿼리 정의 파일이 없습니다.` ) ;
76- }
77- }
78-
7959 /**
8060 * 파일 존재 여부 확인
8161 * @param {string } filepath - 파일 경로
Original file line number Diff line number Diff line change @@ -25,8 +25,6 @@ async function main() {
2525 . option ( 'list-styles' , { describe : '사용 가능한 스타일 템플릿 목록 출력' , boolean : true } )
2626 . help ( ) . argv ;
2727
28- FileUtils . printAvailableXmlFiles ( ) ;
29-
3028 // 스타일 목록 출력 옵션 처리
3129 if ( argv [ 'list-styles' ] ) {
3230 await styleManager . listAvailableStyles ( ) ;
You can’t perform that action at this time.
0 commit comments