mirror of
https://github.com/frappe/books.git
synced 2024-12-24 11:55:46 +00:00
11 lines
262 B
Markdown
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 |