Jifty::Script::Action(3pm)

Jifty::Script::Action3pm

Add an action class to your jifty application

Usage

    jifty action --name NewAction
    jifty action --help
    jifty action --man

Overview

Creates a skeleton action file.

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.

--help

Print a brief help message and exits.

--man

Prints the manual page and exits.

Overview

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.

Methods

run

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

Overview

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

Releases

2 releases since Debian 6.0 (Squeeze); the text changed 1 time.

  1. 6.0
  2. 7

From libjifty-perl 1.10518+dfsg-2 in Debian 7 (Wheezy). Parsed by carta from the page's man source.