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

Add a force option to allow deletion without user confirmation #18

Closed
CedsTrash opened this issue Aug 5, 2024 · 2 comments · Fixed by #19
Closed

Add a force option to allow deletion without user confirmation #18

CedsTrash opened this issue Aug 5, 2024 · 2 comments · Fixed by #19

Comments

@CedsTrash
Copy link

Hi,

I'm pretty confident about the assets I'm not using and I'd like to run php please assets:clear with Laravel Scheduler, or as part as a deployment script.

It would be great to have the ability to execute the command without any interaction.

Thanks.

@aozisik aozisik mentioned this issue Aug 6, 2024
@aozisik
Copy link
Contributor

aozisik commented Aug 6, 2024

Done :) You can have the command run without asking for confirmation by adding the --force=1 flag at the end.

@CedsTrash
Copy link
Author

That's great news! Thank you!

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 a pull request may close this issue.

2 participants