[Bast-commits] r8398 - in DBIx-Class/0.08/branches/dbicadmin_refactor: . lib/DBIx/Class

caelum at dev.catalyst.perl.org caelum at dev.catalyst.perl.org
Thu Jan 21 22:36:25 GMT 2010


Author: caelum
Date: 2010-01-21 22:36:25 +0000 (Thu, 21 Jan 2010)
New Revision: 8398

Modified:
   DBIx-Class/0.08/branches/dbicadmin_refactor/Makefile.PL
   DBIx-Class/0.08/branches/dbicadmin_refactor/lib/DBIx/Class/Admin.pm
Log:
minor documentation updates

Modified: DBIx-Class/0.08/branches/dbicadmin_refactor/Makefile.PL
===================================================================
--- DBIx-Class/0.08/branches/dbicadmin_refactor/Makefile.PL	2010-01-21 21:06:56 UTC (rev 8397)
+++ DBIx-Class/0.08/branches/dbicadmin_refactor/Makefile.PL	2010-01-21 22:36:25 UTC (rev 8398)
@@ -63,6 +63,7 @@
   'parent'                     => '0.223',
   'JSON::Any'                  => '0',
   'Getopt::Long::Descriptive'  => '0.081',
+  'Text::CSV_XS'               => '0.70',
 );
 
 #************************************************************************#

Modified: DBIx-Class/0.08/branches/dbicadmin_refactor/lib/DBIx/Class/Admin.pm
===================================================================
--- DBIx-Class/0.08/branches/dbicadmin_refactor/lib/DBIx/Class/Admin.pm	2010-01-21 21:06:56 UTC (rev 8397)
+++ DBIx-Class/0.08/branches/dbicadmin_refactor/lib/DBIx/Class/Admin.pm	2010-01-21 22:36:25 UTC (rev 8398)
@@ -40,6 +40,16 @@
 
 =head1 SYNOPSIS
 
+  $ dbicadmin --help
+
+  $ dbicadmin --schema=MyApp::Schema \
+    --connect='["dbi:SQLite:my.db", "", ""]' \
+    --deploy
+
+  $ dbicadmin --schema=MyApp::Schema --class=Employee \
+    --connect='["dbi:SQLite:my.db", "", ""]' \
+    --op=update --set='{"name":"New_Employee"}'
+
   use DBIx::Class::Admin;
 
   # ddl manipulation
@@ -61,6 +71,30 @@
   # install a version for an unversioned schema
   $admin->install("3.0");
 
+=head1 REQUIREMENTS
+
+The following CPAN modules are required to use C<dbicadmin> and this module:
+
+L<Moose>
+
+L<MooseX::Types>
+
+L<MooseX::Types::JSON>
+
+L<MooseX::Types::Path::Class>
+
+L<Try::Tiny>
+
+L<parent>
+
+L<JSON::Any>
+
+L<namespace::autoclean>
+
+L<Getopt::Long::Descriptive>
+
+L<Text::CSV>
+
 =head1 Attributes
 
 =head2 schema_class
@@ -554,7 +588,7 @@
   return $cfg;
 }
 
-=head1 AUTHORS
+=head1 AUTHOR
 
 See L<DBIx::Class/CONTRIBUTORS>.
 




More information about the Bast-commits mailing list