Source: carlalexander.ca

Designing a system: WP-CLI commands
The Man in the Arena by Carl Alexander There’s the Laravel application which I’ve talked about.

For this article, we’re not going to make use of it, but you’ll see that it isn’t hard to add support for it if you so choose. In a lot of cases, the command you need to create is going to need a combination of arguments and options.

The reason we want to look at that method is because, in a lot of cases, you want to prefix your commands.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners