Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fm run <path/to/script> #89

Open
rahul286 opened this issue Jan 6, 2024 · 0 comments
Open

fm run <path/to/script> #89

rahul286 opened this issue Jan 6, 2024 · 0 comments

Comments

@rahul286
Copy link
Member

rahul286 commented Jan 6, 2024

While importing data, we are doing a lot of:

fm shell erp2
bench --site erp2.localhost execute erpnext.erpnext_importer.insert_invoices.fetch_invoice_data

Instead of this, we can do:

fm shell run erpnext.erpnext_importer.insert_invoices.fetch_invoice_data

or

fm shell execute erpnext.erpnext_importer.insert_invoices.fetch_invoice_data

We need to handle docker bind mount. Some checks or do it on the fly.

Also, the import script may have some dependencies that will require some addition work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant