Comments (4)
-l
option does not make sense with sfml
as sfml stands for "site factory multiple -l". This is the purpose of sfml to loop over the sites of the factory.
Regarding the arguments/options, it can be quite confusing. First because sfml has its own arguments/options and second because of the change since Drush 8 on how the arguments/options are processed.
The expected format is:
drush sfml pm:list --profiles=my_profile --delay=5 "'--status=enabled' '--type=module'"
When using sfml, pm:list is an argument of sfml. Profiles and delay are options of sfml. Arguments and options for the pm:list command must be given as a string.
from acsf-tools.
The ml command must be run serverside/in a remote ssh session. Try one of the following from your remote docroot:
drush sfml 'pm:list --type=module --status=enabled'
drush sfml 'pml --type=module --status=enabled'
from acsf-tools.
Unfortunately neither work. Do they work for you? I get error Command "pml --type=module --status=enabled" is not defined
I am running these commands by SSHing into one of the Acquia servers, changing to docroot directory, and running the command. I specify which site to bootstrap initially as I have to always with sfml commands:
drush -l url-of-a-site-factory-site sfml 'pml --type=module --status=enabled'
from acsf-tools.
Good point - I could have sworn I needed to pass a specific site to "get it started" before.
The format you provided works! Thank you!
from acsf-tools.
Related Issues (20)
- Drupal 9 support HOT 1
- Add a limit option to acsf-tools-mlc
- Feature Request: Allow to skip the commands on sites which are under maintenance HOT 2
- ACSF-Tools command continue for next site on failure HOT 2
- mysql dump failing with PROCESS privilege permissions failure HOT 3
- Drush commands not working HOT 2
- Install instructions seem to indicate it's ok to clone repo into ~/.drush but this doesn't work
- Undefined array key error in AcsfToolsBackgroundTasksCommands.php HOT 1
- Do not require full bootstrap on acsf-tools:content-staging-deploy command HOT 2
- 'root_domain' key missing on `acsf_tools_config.default.yml` HOT 2
- Use v2 endpoint for acsf-tools:content-staging-deploy HOT 2
- Provide a command to trigger a code switch (POST /api/v1/update) HOT 4
- Provide a command to list the sites which match a command response HOT 1
- Improve the --concurrency-limit option on acsf-tools-mlc HOT 1
- Warnings generated by the command HOT 1
- Investigate if new feature to reorder sites impact acsf-tools commands HOT 1
- Getting warning "Undefined property: Drush\Commands\acsf_tools\AcsfToolsCommands::$aliasRecord AcsfToolsUtils.php:44" HOT 3
- Drupal 10 support. HOT 3
- config-set(cset) with sfml for multiple key values
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from acsf-tools.