Add support for drush CLI.

Created on 27 April 2022, over 2 years ago
Updated 23 August 2023, over 1 year ago

Problem/Motivation

I couldn't hear the flushing sound when I cleared the cache using drush command line. I was gravely disappointed.

Steps to reproduce

  1. Install the module
  2. Run drush cr from command line

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Thanks hemant-gupta for the suggestion.

Feature request
Status

Needs work

Version

1.0

Component

Development

Created by

🇮🇳India dipakmdhrm

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇺🇸United States axb

    The module relies on Javascript in the browser to play the fun flushing sound.

    In the case of CLI only development, perhaps a CLI flushing animation would be a good approach.

  • Status changed to Needs review over 1 year ago
  • 🇮🇳India sumit-k

    Please find the patch below to enable the sound playback on cache clear using Drush. Kindly note that this approach is currently compatible with MacOS and Linux operating systems.

  • 🇮🇳India dipakmdhrm

    This needs work for Linux & Windows.

  • Status changed to Needs work over 1 year ago
  • 🇺🇸United States axb

    CLI support for cache flushing on remote machines would also be nice to have.

    `drush cache:rebuild -vvv` works however it is not as fun as an animated flushing ascii graphic would be.

Production build 0.71.5 2024