Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想从 Drupal 功能触发 Drush 命令,有人对如何最好地做到这一点有任何建议吗?
一些 drush 命令只是调用标准的 Drupal 功能,因此您可以挖掘并找到该功能并调用它。如果您有特定的命令,请询问,我相信有人会提供帮助。
drush 所做的其他一些事情,比如下载模块,可能最好留在那里,因为它们是高级管理功能。您要达到的最终目标是什么?