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

[8.x] Add missing force flag to queue:clear command #34809

Merged
merged 1 commit into from
Oct 12, 2020

Conversation

bobbybouwmann
Copy link
Contributor

Hi 👋 ,

Note: This is the same PR as before, but this time the command actually shows up when running php artisan queue:clear --help

I was recently deploying an application to production, where Laravel forge will run the php artisan queue:clear command. However, I was not able to call the command without confirming the confirmation. This PR adds the missing --force option. I was also so free to update the command to be in line with the other clear commands.

You can test it by running php artisan queue:clear --env=production --force and it should run without confirmation.

@taylorotwell taylorotwell merged commit c663870 into laravel:8.x Oct 12, 2020
@frodeknutsen
Copy link
Contributor

frodeknutsen commented Oct 17, 2020

Any reason why we are going back to getOptions/getArguments instead of just using the signature?

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.

None yet

3 participants