You are reading the documentation for the 1.x version. Switch to the current version 2.x.
Berlioz Framework allows you to manage your CLI projects.
In some case, you don't have any rendering functionality or HTTP support. The Berlioz/CliCore project is do for you!
Installation
Installation of Berlioz/CliCore must be done by Composer, it's the recommended installation.
First, create your classical project with composer support. And executes this command:
composer require berlioz/cli-core
An executable will be created in the binary directory of Composer (default: vendor/bin).
Commands
CLI commands are available on the framework. You can use some default commands or create your owns.
For execution of commands:
$ vendor/bin/berlioz myproject:foo
Printed result!
For more details of commands usage, referrer you to the Commands page.
Default commands
berlioz:help
To get help and get all available commands.
berlioz:config
To get the beautified configuration.
Parameters:
-
-f ...
--filter ...
To filter the configuration key to shown
berlioz:cache-clear
To clear the cache.