lithium\console\command\create\Model

class

Generate a Model class in the --library namespace

li3 create model Posts li3 create --library=li3_plugin model Posts

Source

class Model extends \lithium\console\command\Create {

	/**
	 * Get the class name for the model.
	 *
	 * @param string $request
	 * @return string
	 */
	protected function _class($request) {
		return Inflector::camelize($request->action);
	}
}