From: Sebastian Riedel Date: Tue, 1 Mar 2005 18:36:50 +0000 (+0000) Subject: Added CDBI helper and added some documentation X-Git-Tag: 5.7099_04~1798 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=03a538159d1fff846548900dd12b86a7078ff443;hp=afdca3a3485dde00ff60b2b72039ed338f35d47d Added CDBI helper and added some documentation --- diff --git a/Changes b/Changes index c142284..febeaee 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,8 @@ This file documents the revision history for Perl extension Catalyst. +4.01 Tue Mar 01 10:00:00 2005 + - improved documentation + 4.00 Sun Feb 27 22:00:00 2005 - more verbose debug messages, especially for forward() - implemented prefixed prvate actions, icluding built in diff --git a/bin/catalyst b/bin/catalyst index cc083d7..c5b1855 100755 --- a/bin/catalyst +++ b/bin/catalyst @@ -34,10 +34,20 @@ catalyst [options] application-name catalyst My::App catalyst MyApp + See also: + perldoc Catalyst::Manual + perldoc Catalyst::Manual::Intro + =head1 DESCRIPTION Bootstrap a Catalyst application. +=head1 SEE ALSO + +L, L, L, +L, L, L, +L + =head1 AUTHOR Sebastian Riedel Sebastian Riedel, C diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index 88254bc..5883f09 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -7,7 +7,7 @@ use Catalyst::Log; __PACKAGE__->mk_classdata($_) for qw/_config log/; -our $VERSION = '4.00'; +our $VERSION = '4.01'; our @ISA; =head1 NAME diff --git a/lib/Catalyst/Helper.pm b/lib/Catalyst/Helper.pm index 3db98d0..cc14c94 100644 --- a/lib/Catalyst/Helper.pm +++ b/lib/Catalyst/Helper.pm @@ -192,6 +192,10 @@ server [options] -help display this help and exits -port port (defaults to 3000) + See also: + perldoc Catalyst::Manual + perldoc Catalyst::Manual::Intro + =head1 DESCRIPTION Run a Catalyst Testserver for this application. @@ -256,6 +260,10 @@ test [options] uri test http://localhost/some_action test /some_action + See also: + perldoc Catalyst::Manual + perldoc Catalyst::Manual::Intro + =head1 DESCRIPTION Run a Catalyst action from the comand line. @@ -308,15 +316,23 @@ create - Create a new Catalyst Component =head1 SYNOPSIS -create [options] model|view|controller name +create [options] model|view|controller name [helper] [options] Options: -help display this help and exits Examples: create controller My::Controller - create model My::Model create view My::View + create view MyView TT + create view TT TT + create model My::Model + create model SomeDB CDBI dbi:SQLite:/tmp/my.db + create model AnotherDB CDBI dbi:Pg:dbname=foo root 4321 + + See also: + perldoc Catalyst::Manual + perldoc Catalyst::Manual::Intro =head1 DESCRIPTION