-
-
23 Nov 2011 18:48:29 UTC
- Distribution: CPAN-Mini-Inject-REST
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues
- Testers (333 / 0 / 32)
- Kwalitee
Bus factor: 1- % Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (71.58KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- Archive::Extract
- CPAN::Mini::Inject
- Catalyst::Action::RenderView
- Catalyst::Action::Serialize::JSON
- Catalyst::Controller::REST
- Catalyst::Plugin::ConfigLoader
- Catalyst::Plugin::Static::Simple
- Catalyst::Runtime
- Config::General
- File::Find::Rule
- JSON
- List::MoreUtils
- Moose
- Parse::CPAN::Meta
- Try::Tiny
- namespace::autoclean
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
cpan_mini_inject_rest_create.pl - Create a new Catalyst Component
SYNOPSIS
cpan_mini_inject_rest_create.pl [options] model|view|controller name [helper] [options]
Options: --force don't create a .new file where a file to be created exists --mechanize use Test::WWW::Mechanize::Catalyst for tests if available --help display this help and exits Examples: cpan_mini_inject_rest_create.pl controller My::Controller cpan_mini_inject_rest_create.pl -mechanize controller My::Controller cpan_mini_inject_rest_create.pl view My::View cpan_mini_inject_rest_create.pl view HTML TT cpan_mini_inject_rest_create.pl model My::Model cpan_mini_inject_rest_create.pl model SomeDB DBIC::Schema MyApp::Schema create=dynamic\ dbi:SQLite:/tmp/my.db cpan_mini_inject_rest_create.pl model AnotherDB DBIC::Schema MyApp::Schema create=static\ [Loader opts like db_schema, naming] dbi:Pg:dbname=foo root 4321 [connect_info opts like quote_char, name_sep] See also: perldoc Catalyst::Manual perldoc Catalyst::Manual::Intro perldoc Catalyst::Helper::Model::DBIC::Schema perldoc Catalyst::Model::DBIC::Schema perldoc Catalyst::View::TT
DESCRIPTION
Create a new Catalyst Component.
Existing component files are not overwritten. If any of the component files to be created already exist the file will be written with a '.new' suffix. This behavior can be suppressed with the
-force
option.AUTHORS
Catalyst Contributors, see Catalyst.pm
COPYRIGHT
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.
Module Install Instructions
To install CPAN::Mini::Inject::REST, copy and paste the appropriate command in to your terminal.
cpanm CPAN::Mini::Inject::REST
perl -MCPAN -e shell install CPAN::Mini::Inject::REST
For more information on module installation, please visit the detailed CPAN module installation guide.