-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdev.ts
More file actions
24 lines (21 loc) · 753 Bytes
/
dev.ts
File metadata and controls
24 lines (21 loc) · 753 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import { mode, userRequest } from './input.js'
import { logger } from './utils/logger.js'
import fs from 'node:fs'
;(async () => {
if (!fs.existsSync('./result')) fs.mkdirSync('./result')
logger('Friday 인공지능 작동을 시작합니다...\n')
logger(`요청사항: ${userRequest}`)
if (mode === 'research') {
console.log('TODO: research mode')
} else if (mode === 'dev') {
const { doArchitect } = await import('./architect/index.js')
const { doTechEvangelist } = await import('./evangelist/index.js')
const { doProgramming, doProgrammingReview } = await import(
'./programmer/index.js'
)
await doArchitect()
await doTechEvangelist()
await doProgramming()
await doProgrammingReview()
}
})()