twf cli
1.7 is out!
打字稿网络框架CLI
create() read() update() delete() www package.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