twf cli
1.7 is out!
TypeScript Web Framework CLI
create() read() update() delete() www ที่มีอยู่ package.json ที่มีอยู่ json src ที่มีอยู่ src/manifiest.json ที่มีอยู่ src/controllers ที่มีอยู่ src/annotations ที่มีอยู่ src/core ที่มีอยู่ src/app.ts ที่มีอยู่ src/server.ts ที่มีอยู่ src/typings.d.ts ที่มีอยู่ www dist temp node_modules package-lock.json ในการเริ่มโครงการใหม่ในไดเรกทอรีปัจจุบันคุณไม่จำเป็นต้องตั้งชื่อโครงการ
!สำคัญ
TWF-CLI ไม่
.หรือ...
twf startในการเริ่มโครงการใหม่ด้วยไดเรกทอรีของตัวเองคุณต้องตั้งชื่อโครงการ
twf start MyProjecttwf cleantwf installtwf verifytwf serve # twf add controller [name] [default route]
twf add controller index
twf add controller index /profile/:id
twf add controller main/index /profile/:id