Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is Drux a drush extension or a module or both? #3

Open
frederickjh opened this issue Jun 8, 2016 · 1 comment
Open

Is Drux a drush extension or a module or both? #3

frederickjh opened this issue Jun 8, 2016 · 1 comment

Comments

@frederickjh
Copy link

Hi!
I did an install per the github instructions in the README.md.

In a Drupal webroot ran the following and got errors.

$ drush drux-list-dependencies
Command drux-list-dependencies needs the following module(s) enabled to run: drux.                                                                                [error]
The drush command 'drux-list-dependencies' could not be executed.                                                                                                 [error]

So it looks like the module must be installed if the error messages are correct. However on the Drupal.org project page for Drux it states:

While it is fine to use this from github, as a drush extension, the drupal.org project allows to include it in a site / project as a regular module. Do whatever works best for your work flow!

So to my title question: Is Drux a drush extension or a module or both? And if it is an drush extension why does it have a module dependency?

Thanks for your time and help!
Frederick

@frederickjh
Copy link
Author

OK, confusion on my part. I first used drush to install drux however it installs in in the all/modules/ directory not where any other drush extension I have install normally ends up. Normally the end up in ~/.drush/ I thought that I had deleted the module before the install in ~/.drush/ via github. I think this is why drush was confused.

Consider removing the .module file as the project is not a module but a drush extension. Looking through other drush extension that I have installed none of them have .module file. Only one has a .info file. When I installed the other drush extension with drush en <drush_extension_name> they got installed in the correct place for extension ~/.drush/

Thanks for your work on this project!
Frederick

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant