Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Inspired by the 'drush arr' command, I decided that the Pirate module should have Drush integration. But what should the command be, and do?
Ideas:
Obviously yarr
, but I was hoping to reserve that as the alias for the actual command. katbailey in the #drupal-contribute IRC channel suggested arrrrrrrrrr
and I thought it should be exactly that number of r's. But then came the suggestion to allow infinite r's, in the style of the Khaaaaaaan module, as long as it was 3 or more (so that arr
still does what it does).
And what should the command do? Switch on the pirate filter irrespective of date?
Comment | File | Size | Author |
---|---|---|---|
#1 | pirate-drush-yarr-toggle-1679796.patch | 2.62 KB | sillygwailo |
Comments
Comment #1
sillygwailoI propose it just create a toggle, turning on/off the filter regardless of date. Here's a patch that would do that.
Comment #2
sillygwailoThis has been pushed to dev. Needs a backport to 6.x.
The commands are:
drush yarr on
drush yarr off
The alias for
yarr
isarrrrrrrrrr
.Comment #3
sillygwailo