65. Write your own bench cli - Frappe Erpnext

Extend bench cli

category: Frappe Framework

learn how to extend frappe Bench Cli by writing your own frappe commands. In this video tutorial, you will learn how to extend the bench functionality using python. Bench - Extending the CLI Along with the framework commands, Frappe's bench_manager module also searches for any commands in your custom applications. Thereby, bench communicates with the respective bench's Frappe which in turn will check for available commands in all of the applications. To make your custom command available to bench, just create a commands module under your parent module and write the command with a click wrapper and a variable commands which contains a list of click functions, which are your own commands.

Prev: 64. Virtual Doctype Part2 - Frappe ERPNext
Next: 66. Connect VUEJS to Frappe Portal ERPNExt