bcgov/MFIN-Data-Catalogue

Attempt to display the motd, ensure it's displayed to the end user and make that a PR

Closed this issue · 2 comments

OP timer

https://openplus.monday.com/boards/4092908516/pulses/6696698787


This should be a PR

This is a copy of this comment.

There is no easy or clean way to print a custom message when exec'ing into a container.

Is it possible that when drush status is run we get @lkmorlan to add a custom message prepended to the output?

Perhaps using pre-command instead of alter?

https://github.com/drush-ops/example-drush-extension/blob/78f98a333a7d12460329ba2dbb54e66b36188b57/ExampleStatusFieldHook.php#L51

The custom message to prepend:

    # Reminder to execute the following command
    source /vault/secrets/secrets.env

Issue opened in the process of working on this:
drush-ops/drush#6014

passed. You can see this when you run drush status

Image