Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Artisan make:module (deprecated) should prompt for input #725

Merged
merged 1 commit into from
Mar 27, 2021

Conversation

liamjcooper
Copy link
Contributor

There is a bug in Laravel when passing options() programatically where if the no-interaction option is present in the ArrayInput, the framework will run the command as no-interaction. I have created a PR for it here: #33950. This presents an issue with the artisan twill:module deprecated command as no matter what features you would like included with the module, it will enable all of them as if it was default. No prompts are shown.

As per the current documentation, it is advised to use artisan twill:module rather than artisan twill:make:module which is the latest and working command. Regardless, this PR should act as a workaround for the issue.

With this PR, the prompts should now show for the user to confirm which features they would like in their new module.

@CLAassistant
Copy link

CLAassistant commented Aug 20, 2020

CLA assistant check
All committers have signed the CLA.

@ifox ifox force-pushed the fix/module-command-features branch from 54389cf to f64c645 Compare January 21, 2021 16:44
ifox
ifox previously approved these changes Mar 26, 2021
@ifox
Copy link
Member

ifox commented Mar 26, 2021

/rebase

@ifox ifox force-pushed the fix/module-command-features branch from f64c645 to 56702b2 Compare March 26, 2021 22:54
@ifox ifox merged commit a5b3ffc into area17:2.x Mar 27, 2021
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.

3 participants