Is it possible to list all sites with bench command?

Most AI chatbots suggest bench list-sites, but list-sites option is not available. How to list all available sites without looking into directory structure?

It’s available on commit: Commit - Developer tooling for the Frappeverse

Click on “Explore APIs and Bench Commands” and select the app you want. Once opened, there will be a button to view commands.

You can look at the commit app to see how we parse the entire codebase to find all commands in any Frappe app. I think only the base Frappe app has commands.

1 Like