Lando Platformsh allows developers exeute Platformsh Cli commands from within Lando services.
yarn add lando-platformsh -d
- If Lando Plugin Anywhere is not already installed, execute:
./node_modules/.bin/lando-pa.js
or, if it is installed globally,lando-pa
.
Now, give it a try from within your project root directory (where your package.json is configured): lando platform list
. Or execute within a specific service: lando platform list --service
Key Points
- This plugin depends on and installs
lando-plugin-anywhere
which allows this plugin to be autoloaded from yournode_modules
directory of your project.