2
0
mirror of https://github.com/frappe/books.git synced 2024-12-27 12:42:44 +00:00
books/docs/cli.md
2018-01-31 15:43:33 +05:30

11 lines
262 B
Markdown

# 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