Perform a WP CLI command
cy.wpCli('plugin list --field=name').then(response=>{ const plugins = res.stdout.split('\n'); // Do whatever with plugins list});
WP CLI command. The 'wp ' prefix is optional
Prevent command to fail if CLI command exits with error
Generated using TypeDoc
Perform a WP CLI command