I'm testing "b" for the first time in preparation for our Virtual User Group next week (Command Line Tools for BackdropCMS).
It seems to be working on a high level. I was able to download a copy of Backdrop with b.
However, I'm not sure how to use it with Lando. Any commands that require access to the database seem to generate "The required bootstrap level is not ready" errors.
I assume this is because I am not using "b" from with Lando and it doesn't know how to access to the Lando based database container. But, I could be wrong.
Here a sample message I get:
[-] Backdrop has not yet been installed. [-] 'Debug' mode enabled. [✘] The required bootstrap level for 'enable' is not ready.
For those who are not aware of "b", it is a command line tool similar to drush that has been written specifically for BackdropCMS. https://backdropcms.org/project/b
Ah, right. Of course. I've just been working on adding a default Lando config file to `b` (to help with `b`s development), so I'd forgotten that people will want to use `b` with their existing Lando setups. I've made an issue to add these instructions to the repo (somewhere) to help in future, but I'll put some info here too.
It should just be a matter of making sure your Lando file has these sections:
The 'services' part downloads the latest (dev) version of `b` and extracts it to
The 'tooling' part is what allows you to simply write
lando bin the console in order to use `b` (i.e. instead of calling
Please do let me know if these instructions work, or if they can be tweaked/clarified.