[FLOW3-general] Flow3 Kickstart
Hari K T
kthari85 at gmail.com
Sat Aug 27 09:00:06 CEST 2011
http://flow3.typo3.org/fileadmin/manual/nightly/TheDefinitiveGuide/PartII/Kickstart.html#kickstart-controllers
I am not sure may be the documentation is for the beta's . But currently its
written as
./flow3 typo3.kickstart:kickstart;controller TYPO3.Blog --controllerName
Setup,Post,Comment
Problems are kickstart has ./flow3 kickstart:commandcontroller , no
--controllerName and if coma seperated values comes with a space its not
taken . I am not sure about the implementation , but feel is its explode
then we want to make a trim . That may work .
The below is what I did and the errors .
hari at hari-Vostro1510:/media/Linux/flow3$ ./flow3 kickstart:commandcontroller
TYPO3.Blog --controllerName Setup, Post, Comment
Uncaught Exception in FLOW3 #1309971821: Unexpected named argument
"controllername". If you use unnamed arguments, all required arguments must
be passed without a name.
thrown in file
/media/Linux/flow3/Data/Temporary/Development/Cache/Code/FLOW3_Object_Classes/TYPO3_FLOW3_MVC_CLI_RequestBuilder_Original.php
in line 193
Reference code: 20110827122145c1aa63
#0 TYPO3\FLOW3\Error\DebugExceptionHandler::echoExceptionCli()
/media/Linux/flow3/Packages/Framework/TYPO3.FLOW3/Classes/Error/AbstractExceptionHandler.php:60
#1 TYPO3\FLOW3\Error\AbstractExceptionHandler::handleException()
hari at hari-Vostro1510:/media/Linux/flow3$ ./flow3 kickstart:commandcontroller
--help
Required argument "packageKey" is not set.
Enter "./flow3 help" for an overview of all available commands
or "./flow3 help <commandIdentifier>" for a detailed description of the
corresponding command.
hari at hari-Vostro1510:/media/Linux/flow3$ ./flow3 --help
kickstart:commandcontroller
No command could be found that matches the command identifier "--help".
Enter "./flow3 help" for an overview of all available commands
or "./flow3 help <commandIdentifier>" for a detailed description of the
corresponding command.
hari at hari-Vostro1510:/media/Linux/flow3$ ./flow3 help
kickstart:commandcontroller
Kickstart a new command controller
USAGE:
./flow3 kickstart:commandcontroller <packageKey> <controllerName> [<force>]
ARGUMENTS:
packageKey The package key of the package for the new controller
controllerName The name for the new controller. This may also be a
comma separated list of controller names.
force Overwrite any existing controller. (optional)
hari at hari-Vostro1510:/media/Linux/flow3$ ./flow3 kickstart:commandcontroller
TYPO3.Blog Setup, Post, Comment
Created .../TYPO3.Blog/Classes/Command/SetupCommandController.php
hari at hari-Vostro1510:/media/Linux/flow3$ ./flow3 kickstart:commandcontroller
TYPO3.Blog Setup,Post,Comment
Omitted .../TYPO3.Blog/Classes/Command/SetupCommandController.php
Created .../TYPO3.Blog/Classes/Command/PostCommandController.php
Created .../TYPO3.Blog/Classes/Command/CommentCommandController.php
hari at hari-Vostro1510:/media/Linux/flow3$
*Hari K T
*M: +91-9388758821 | W: http://harikt.com/blog
More information about the FLOW3-general
mailing list