You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The bench command "set-default-site" does not work. It's checking for a Frappe path that does not exist. Please remove this command. And also update "bench --help' so that this command is not displayed.
The bench command "use" performs the functionality that "set-default-site" was supposed to. However this command is not documented. If you type "bench --help", there is no command "use" displayed. Please update the --help for bench so that the "use" command is shown. The purpose of this command appears to be changing the default bench site.
So, it seems bench set-default-site just calls bench use. Also, there's documentation for bench use in bench --help. I'm not sure why set-default-site is still a thing, maybe for legacy reasons? I can create a PR to remove it.
If I run bench --help from the frappe-bench folder, then all commands are shown.
But if I run bench--help from somewhere else, the "Framework commands" are not shown.
If I navigate to the frappe-bench folder, and execute a "use" command, no errors.
If I navigate to the frappe-bench folder, and execute a "set-default-site" command, then I get an error stating "frappe app is not installed"
Original discussion here:
https://discuss.erpnext.com/t/cannot-change-default-site-using-bench-command/20540/3
The bench command "set-default-site" does not work. It's checking for a Frappe path that does not exist. Please remove this command. And also update "bench --help' so that this command is not displayed.
The bench command "use" performs the functionality that "set-default-site" was supposed to. However this command is not documented. If you type "bench --help", there is no command "use" displayed. Please update the --help for bench so that the "use" command is shown. The purpose of this command appears to be changing the default bench site.
Please contact me directly if you have any questions.
brian@pondconsulting.net
The text was updated successfully, but these errors were encountered: