| 1 |
Description: Add more info to script man page |
| 2 |
Most of this path was taken from |
| 3 |
lib/HTML/FormHandler/Generator/DBIC.pm |
| 4 |
Author: dod |
| 5 |
--- a/script/form_generator.pl |
| 6 |
+++ b/script/form_generator.pl |
| 7 |
@@ -19,7 +19,30 @@ |
| 8 |
|
| 9 |
=head1 NAME |
| 10 |
|
| 11 |
-dbic_form_generator - form generator |
| 12 |
+dbic_form_generator - Generate HTML form from DB schema with DBIC |
| 13 |
+ |
| 14 |
+=head1 DESCRIPTION |
| 15 |
+ |
| 16 |
+Using the database passed in the command option, dbic_form_generator |
| 17 |
+will query the DB for a schema and generate a HTML form to update the |
| 18 |
+content of the DB. |
| 19 |
+ |
| 20 |
+Options: |
| 21 |
+ |
| 22 |
+ rs_name -- Resultset Name |
| 23 |
+ schema_name -- Schema Name |
| 24 |
+ db_dsn -- dsn connect info |
| 25 |
+ class_prefix -- [OPTIONAL] Prefix for generated classes (Default: '') |
| 26 |
+ label -- [OPTIONAL] Flag to toggle generation of form labels (Default: 0) |
| 27 |
+ label_column -- [OPTIONAL] Flag to toggle generation of dummy form labels_columns for type: 'select' (Default: 0) |
| 28 |
+ |
| 29 |
+This package should be considered still experimental since the output, |
| 30 |
+of the generated classes will be changed from time to time. This should |
| 31 |
+not impact the main usage for this module that we had in mind, that is |
| 32 |
+generating the initial version of a FormHandler form class, copying |
| 33 |
+it to the project and modifying it. |
| 34 |
+ |
| 35 |
+This script is installed into the system with the rest of FormHandler. |
| 36 |
|
| 37 |
=head1 VERSION |
| 38 |
|