Jifty::Script::Action - Add an action class to your Jifty application
jifty action --name NewAction jifty action --help jifty action --man
Creates a skeleton action file.
There are only two possible options to this script:
Name of the action class.
By default, this will stop and warn you if any of the files it is going to write already exist. Passing the --force flag will make it overwrite the files.
Print a brief help message and exits.
Prints the manual page and exits.
This creates a skeleton of a new action class for your jifty application, complete with a skeleton of a test suite for it, as well.
Creates a skeleton file under lib/ApplicationClass/Action/Action, as well as a skeleton tests file.
lib/ApplicationClass/Action/Action
@{[$appclass]}::Action::@{[$action]}
A (very) basic test harness for the $action action.
To install Jifty, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Jifty
CPAN shell
perl -MCPAN -e shell install Jifty
For more information on module installation, please visit the detailed CPAN module installation guide.