Skip to content

Conversation

@theofidry
Copy link
Collaborator

@theofidry theofidry commented Jul 8, 2022

Closes #72

The issue was that PluginEvents::COMMAND is not triggered at all on the first install. The trick done here is to hook on the post dump autoload instead. This requires a few hack:

  • extend ConsoleIO to expose the input & output
  • ensure we are not forwarding the command twice

But I think overall this delivers a better user experience.

@theofidry theofidry marked this pull request as ready for review July 8, 2022 21:51
@theofidry theofidry merged commit 7dd88b6 into bamarni:master Jul 8, 2022
@theofidry theofidry deleted the bugfix/forward-command branch July 8, 2022 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Forward command not executed on first install

1 participant