2
0
mirror of https://github.com/frappe/books.git synced 2024-12-25 20:11:15 +00:00
books/docs/cli.md

11 lines
262 B
Markdown
Raw Normal View History

2018-01-31 10:13:33 +00:00
# Command Line Tools
## Adding a new model / DocType
You can add a new model template with the following command
```sh
node_modules/frappejs/cli.js new-model [modelname]
```
This will add a new `.json` file for the model (DocType) definition and a controller