9
Adding a CLI to Your Extension
Command-Line Interfaces (CLIs) are a popular tool for developers to automate certain tasks. CLI applications are intended to be used through a terminal emulator, such as xterm on Linux systems, Windows Command Prompt on Windows systems, or the Terminal app on macOS.
The most common reason people use a CLI web application is to automate certain tasks. This can be accomplished with Cron Jobs or by including the CLI commands in a development automated pipeline (for example, a continuous integration pipeline).
Many PHP CMS and frameworks implement a CLI application with different naming, so for instance, you can find Laravel Artisan, the Symfony Console, WP-CLI for WordPress, or even the PrestaShop CLI. Some of these ...
Get Developing Extensions for Joomla! 5 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.