You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@hook interact is called by the Symfony Console interact method during the Symfony Console command dispatch process, which Drush is not using. Beyond the fact that this is not implemented, the usage in WatchdogCommands is correct.
Hook interact is called in AnnotatedCommand::interact(). We simply need to call this method, or equivalent functionality, iff interaction has not been disabled. We also need to decide if -n should behave like Drush 8 or like Symfony Console. Terminus has both --yes and -n, the later of which behaves like Symfony Console. In SC, -n defaults most yes/no prompts to yes. Terminus defaults destructive prompts to no and the rest to yes.
Please advise on how to use @hook interact. We now have two non-functional instances of it. See WatchdogCommands and ImageCommands.
The text was updated successfully, but these errors were encountered: