/zf-cli

A skeleton for command-line Zend Framework application

Primary LanguagePHPBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

This is a simple command-line interface to Zend Framework application.

Go to the bin directory and execute: `php cli.php`
This command executes the index action of the index controller from 
application/controllers-cli/IndexController.php

`php cli.php index info` executes the info action of the index controller.
`php cli.php index info KEY=VALUE` adds a parameter to the requst.
`php cli.php index info KEY` adds a boolean parameter equal to TRUE to the requst.
------------------------------------------------------------------------------
This code is available under BSD license (see LICENSE).