Giter Site home page Giter Site logo

Comments (4)

vbouchet31 avatar vbouchet31 commented on August 22, 2024 1

-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.

adambernstein avatar adambernstein commented on August 22, 2024

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.

bkosborne avatar bkosborne commented on August 22, 2024

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.

bkosborne avatar bkosborne commented on August 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.