Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

Jifty::Script::Action
Add an action class to your Jifty application

Jifty::Script::Action - Add an action class to your Jifty application


NAME

Jifty::Script::Action - Add an action class to your Jifty application


DESCRIPTION

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.


API

options

There are only two possible options to this script:

--name NAME (required)
Name of the action class.

--force
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.

run

Creates a skeleton file under lib/ApplicationClass/Action/Action, as well as a skeleton tests file.


NAME

@{[$appclass]}::Action::@{[$action]}

take_action

report_success


DESCRIPTION

A (very) basic test harness for the $action action.

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy