Mark Gibbens
Member
Posted 1 year ago #
The Drupal CMS has a contributed tool called drush. It is a PHP script which can be run from the command line and it allows you to execute a number of site admin functions, including downloading, enabling/disabling and upgrading both contributed modules and the core CMS.
Is there an equivalent tool available for WordPress?
too my knowledge there is not a command line tool for wordpress
If you need to disable a plugin or a theme, in wordpress, you can just delete them and they will be disabled.
In wordpress, i don't think that there is a need for command line
I think this would be a great idea. For example, when you setup a new blog, you could run a script to install all your favorite plugins at once. Or is this a way to do this already?
gavinengel
Member
Posted 1 year ago #
I would also *love* to have a Drush for WordPress.
Following this thread in hopes someone makes one.
One aspect I really like is the drush sql-cli and drush sql-dump.
Andrew Shell
Member
Posted 1 year ago #
I'm also looking for something like this. The primary reason is if I don't want to give apache write access to the entire WordPress installation I'd like to be able to ssh into my server (with a user that has appropriate permissions) and update all plugins and/or WordPress core.
Count me in as someone who'd like to see this. Granted, I know WordPress's audience is different...but still...it'd be cool. Like right now I'm moving my site between servers, and it'd be nice to type something like
wpsh sqlc < my_database_file.sql
and have it use my wp-config.php settings, etc.
Instead of the clunky
mysql -u whoever -p databasename < my_database_file.sql.