/bench-cli-demo

Primary LanguagePythonMIT LicenseMIT

Bench CLI Demo

This app demonstrates how to create custom commands in Bench.

Install the App

  1. Create the Frappe site with Frappe Manager (FM):
fm create bench-cli-demo --frappe-branch version-15 --apps erpnext:version-15 --apps hrms:version-15
  1. Install the app on your site:
fm shell bench-cli-demo
bench get-app https://github.com/zeel-codder/bench-cli-demo.git
bench --site {site-name} install-app bench_cli_demo
  1. Test Commands:
bench sum 20 2
bench insert-todo

Note: You can set the default site with the following command:

bench use bench-cli-demo.localhost

Setup the App for Importing Job Applicant Data

  1. Download any CSV data from here and move the file to the frappe-bench folder.

  2. Run the import command:

bench rt-import import-job-applicant {file_path}

License

MIT