svenluijten / forge-cli

🔥 A command line utility to interact with your Laravel Forge servers, sites, and more.
https://svenluijten.com
MIT License
64 stars 14 forks source link

Add optional force parameter to interactive commands #28

Closed thoresuenert closed 4 years ago

thoresuenert commented 4 years ago

I add the ConfirmableTrait inspired a lot by Laravel artisan base command class.

I added a lot of boilerplate. Please take the time to review the boilerplate and the new style of writing a Command. The first Command is Sites\Delete.

If you like the way it is coded, I will update the rest of confirmable commands and provide more PRs to transition the commands to the new style

Closes #25

thoresuenert commented 4 years ago

@svenluijten would be cool if you find the time to review the Sites\Delete Command.

If that isn't something we want to aim for, I will remove that specific changes.

thoresuenert commented 4 years ago

We have to clean up the master branch after the force push

closing for now.