I've been away from drupal for 2-3 years. I just came back around and installed drush via composer (like the drush site recommends) and now every time I try to use drush I get a message telling me that I should be using composer:
~/sites/d7 $ drush version Drush version : 9.0-dev-gd4a3872 ~/sites/d7 $ drush dl drupal-7.x [notice] dl has been deprecated. Please build your site using Composer. Add new projects with composer require drupal/[project-name]. Use https://www.drupal.org/project/composer_generate to build a composer.json which represents the the enabled modules on your site.
I downloaded drupal 8 following these instructions for installing drupal via composer, but when I try to use drush in that project I get this message:
~/sites/cfbtv/web $ drush dl devel This codebase is assembled with Composer instead of Drush. Use `composer update` and `composer require` instead of `drush pm-updatecode` and `drush pm-download`. You may override this error by [error] using the --pm-force option.
Is there something wrong with my local env, or is drush a thing of the past now?