Command Line Manager - chsxf/mfx GitHub Wiki

Even if MFX will most likely be run most of the time through a web server, MFX applications can be run from the command-line too.

Usage

Important Note: For now, you have to execute your MFX application from your application's folder.

Use the following command to execute your MFX application from the command-line:

php path/to/mfx/entrypoint.php [options] [route]

Arguments

Argument Description
path/to/mfx/entrypoint.php Refers to the path to your entry point file (as explained in Setting Up Your First App). If you followed the default guidelines, the path should just be entrypoint.php.
route The route you want to call. If this parameter is omitted, the default route is called.

Options

Option Description
--config path/to/config.php With this option, you can override the default configuration file used for this instance