mirror of
https://github.com/frappe/books.git
synced 2024-12-26 12:28:12 +00:00
262 B
262 B
Command Line Tools
Adding a new model / DocType
You can add a new model template with the following command
node_modules/frappejs/cli.js new-model [modelname]
This will add a new .json
file for the model (DocType) definition and a controller