65. Write your own bench cli - Frappe Erpnext
learn how to extend frappe Bench Cli by writing your own frappe commands. In thi
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.
No comments yet. Login to start a new discussion Start a new discussion