Jifty::Script::Script3pm
Add a new jifty script to your jifty application
Usage
jifty script --name my_new_scriptjifty script --name my_new_script --forcejifty script --helpjifty script --man
Overview
Add a skeleton command-line script file.
options
- --name NAME (required)
-
Name of the script to create.
-
--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 script file for your Jifty application. Often such a script is needed for cron jobs, annual maintenance work, and any other server-side activity that would benefit from a command-line script.
Methods
run
Creates a skeleton file under "bin/script".
TODO Should this create skeleton test files too?
Releases
2 releases since Debian 6.0 (Squeeze); the text changed 1 time.