Skip to content

Commit

Permalink
update kites init command
Browse files Browse the repository at this point in the history
  • Loading branch information
vunb committed Apr 8, 2020
1 parent 737d5b6 commit 0d1853a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
15 changes: 6 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Command line interface for Kites Framework

```bash
# generate a new app
kites init my-project --template mvc
kites init my-project

# install dependencies and startup program
cd my-project
Expand Down Expand Up @@ -50,14 +50,11 @@ Commands:
### Built-in templates:
* [kites-template-mvc](https://github.com/vunb/kites-template-mvc) - Assembling all into complete ship (default)
* [kites-template-basic](https://github.com/vunb/kites) - Template for building from scratch
* [kites-template-apidoc](https://github.com/vunb/kites) - Template for API Documentation
* [kites-template-express](https://github.com/vunb/kites) - Template for Express Application
* [kites-template-restful](https://github.com/vunb/kites) - Template for generating a RESTful API Server, *inprogress*
* [kites-template-cms](https://github.com/vunb/kites-template-mvc) - Template for generating a Content Management System (CMS), *inprogress*
* [kites-template-chat](https://github.com/vunb/kites-template-mvc) - Real-time Chat with RoomRTC, *inprogress*
* [kites-template-videocall](https://github.com/vunb/kites-template-mvc) - Real-time Video Call with RoomRTC, *inprogress*
* [x] [typescript-starter](https://github.com/kitesjs/typescript-starter) - Kites Project Starter with Typescript (default)
* [ ] [project-docs](https://github.com/vunb/kites) - Template for building project document
* [ ] [kites-template-cms](https://github.com/kitesjs/freecms) - Template for generating a Content Management System (CMS), *inprogress*
* [ ] [kites-template-chat](#) - Real-time Chat with RoomRTC, *inprogress*
* [ ] [kites-template-videocall](#) - Real-time Video Call with RoomRTC, *inprogress*
# License
Expand Down
2 changes: 1 addition & 1 deletion bin/kites.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ program
program
.command('init [name]')
.option('-d --directory [dir]', 'app directory', '.')
.option('-t --template [template]', 'app template', 'mvc')
.option('-t --template [template]', 'app template', 'starter')
.description('Init a new kites project')
.alias('i')
.action(function (name, opts) {
Expand Down
2 changes: 1 addition & 1 deletion src/app/templates.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"mvc": "vunb/kites-template-mvc#stable",
"starter": "kitesjs/typescript-starter",
"basic": "vunb/kites#basic",
"apidoc": "vunb/kites#apidoc",
"express": "vunb/kites#express",
Expand Down

0 comments on commit 0d1853a

Please sign in to comment.