twf-cli
v1.7.2
Published
TypeScript Web Framework CLI
Maintainers
Readme
TypeScript Web Framework Command Line Interface
TypeScript Web Framework CLI
Features
- [x] Create project
- [x] Current Directory
- [x] Own Directory
- [x] Generate API Controller
- [x] Default CRUD
- [x] @HttpPost
create() - [x] @HttpGet
read() - [x] @HttpPut
update() - [x] @HttpDelete
delete()
- [x] @HttpPost
- [x] Default CRUD
- [x] Remove API Controller
- [x] Verify project structure
- [x] Verify existing
www - [x] Verify existing
package.json - [x] Verify existing
src - [x] Verify existing
src/manifiest.json - [x] Verify existing
src/controllers - [x] Verify existing
src/annotations - [x] Verify existing
src/core - [x] Verify existing
src/app.ts - [x] Verify existing
src/server.ts - [x] Verify existing
src/typings.d.ts
- [x] Verify existing
- [x] Version info & comparison
- [x] CLI Version
- [x] Project Version
- [x] Node Version
- [x] NPM Version
- [x] Clean project
- [x] Remove
www - [x] Remove
dist - [x] Remove
temp - [x] Remove
node_modules - [x] Remove
package-lock.json
- [x] Remove
- [x] Install dependencies
- [x] Serve project
- [ ] Generate http property on controller
- [ ] Remove http property on controller
- [x] Test Project(Unit Testing)
- [x] Build Project
- [x] Generate compiled binary package
- [x] Windows
- [x] Linux
- [x] OSX
Commands
Start Project
To start a new project on current directory you don't need set project name
!IMPORTANT
twf-cli does not interpret
.or...
twf startTo start a new project on with a own directory you need set project name
twf start MyProjectClean Project
twf cleanInstall Dependencies
twf installVerify Project
twf verifyServe
twf serveGenerate Controller
# twf add controller [name] [default route]
twf add controller index
twf add controller index /profile/:id
twf add controller main/index /profile/:id