| 1 |
#!/usr/bin/env perl |
| 2 |
# PODNAME: dancer2 |
| 3 |
# ABSTRACT: Dancer2 command line interface |
| 4 |
|
| 5 |
use strict; |
| 6 |
use warnings; |
| 7 |
use Dancer2::CLI; |
| 8 |
|
| 9 |
Dancer2::CLI->new_with_options->run; |
| 10 |
|
| 11 |
__END__ |
| 12 |
|
| 13 |
=pod |
| 14 |
|
| 15 |
=encoding UTF-8 |
| 16 |
|
| 17 |
=head1 NAME |
| 18 |
|
| 19 |
dancer2 - Dancer2 command line interface |
| 20 |
|
| 21 |
=head1 VERSION |
| 22 |
|
| 23 |
version 2.2.2 |
| 24 |
|
| 25 |
=head1 SYNOPSIS |
| 26 |
|
| 27 |
dancer2 <command> [options...] |
| 28 |
|
| 29 |
=head1 DESCRIPTION |
| 30 |
|
| 31 |
(If you're looking for the main L<Dancer2> module documentation via |
| 32 |
CLI, try C<perldoc Dancer2>.) |
| 33 |
|
| 34 |
Dancer2 is the new generation lightweight web-framework for Perl. |
| 35 |
This tool provides nice, easily-extendable CLI interface for it. |
| 36 |
|
| 37 |
=head2 Documentation Index |
| 38 |
|
| 39 |
Documentation on Dancer2 is split into several manpages. Below is a |
| 40 |
complete outline on where to go for help. |
| 41 |
|
| 42 |
=over 4 |
| 43 |
|
| 44 |
=item * Dancer2 Tutorial |
| 45 |
|
| 46 |
If you are new to the Dancer approach, you should start by reading |
| 47 |
our L<Dancer2::Manual::Tutorial>. |
| 48 |
|
| 49 |
=item * Dancer2 Manual |
| 50 |
|
| 51 |
L<Dancer2::Manual> is the reference for Dancer2. Here you will find |
| 52 |
information on the concepts of Dancer2 application development and |
| 53 |
a comprehensive reference to the Dancer2 domain specific |
| 54 |
language. |
| 55 |
|
| 56 |
=item * Dancer2 Keywords |
| 57 |
|
| 58 |
The keywords for Dancer2 can be found under L<DSL Keywords|Dancer2::Manual/DSL KEYWORDS>. |
| 59 |
|
| 60 |
=item * Dancer2 Deployment |
| 61 |
|
| 62 |
For configuration examples of different deployment solutions involving |
| 63 |
Dancer2 and Plack, refer to L<Dancer2::Manual::Deployment>. |
| 64 |
|
| 65 |
=item * Dancer2 Cookbook |
| 66 |
|
| 67 |
Specific examples of code for real-life problems and some 'tricks' for |
| 68 |
applications in Dancer can be found in L<Dancer2::Cookbook> |
| 69 |
|
| 70 |
=item * Dancer2 Config |
| 71 |
|
| 72 |
For configuration file details refer to L<Dancer2::Config>. It is a |
| 73 |
complete list of all configuration options. |
| 74 |
|
| 75 |
=item * Dancer2 Plugins |
| 76 |
|
| 77 |
Refer to L<Dancer2::Plugins> for a partial list of available Dancer2 |
| 78 |
plugins. Note that although we try to keep this list up to date we |
| 79 |
expect plugin authors to tell us about new modules. |
| 80 |
|
| 81 |
=item * Dancer2 Migration guide |
| 82 |
|
| 83 |
L<Dancer2::Manual::Migration> provides the most up-to-date instruction on |
| 84 |
how to convert a Dancer (1) based application to Dancer2. |
| 85 |
|
| 86 |
=back |
| 87 |
|
| 88 |
=head1 NAME |
| 89 |
|
| 90 |
dancer2 - Dancer2 command line interface |
| 91 |
|
| 92 |
=head1 COMMANDS |
| 93 |
|
| 94 |
=over |
| 95 |
|
| 96 |
=item * gen |
| 97 |
|
| 98 |
Create a new Dancer2 application. |
| 99 |
|
| 100 |
=item * version |
| 101 |
|
| 102 |
Display version of Dancer2 currently installed. |
| 103 |
|
| 104 |
=back |
| 105 |
|
| 106 |
To get detailed description of each individual command run: |
| 107 |
|
| 108 |
dancer2 <command> --help |
| 109 |
|
| 110 |
The latest list of available commands can be displayed by: |
| 111 |
|
| 112 |
dancer2 |
| 113 |
|
| 114 |
=head1 AUTHOR |
| 115 |
|
| 116 |
Dancer Core Developers |
| 117 |
|
| 118 |
=head1 COPYRIGHT AND LICENSE |
| 119 |
|
| 120 |
This software is copyright (c) 2021 by Alexis Sukrieh. |
| 121 |
|
| 122 |
This is free software; you can redistribute it and/or modify it |
| 123 |
under the same terms as the Perl 5 programming language system |
| 124 |
itself. |
| 125 |
|
| 126 |
=head1 AUTHOR |
| 127 |
|
| 128 |
Dancer Core Developers |
| 129 |
|
| 130 |
=head1 COPYRIGHT AND LICENSE |
| 131 |
|
| 132 |
This software is copyright (c) 2026 by Alexis Sukrieh. |
| 133 |
|
| 134 |
This is free software; you can redistribute it and/or modify it under |
| 135 |
the same terms as the Perl 5 programming language system itself. |
| 136 |
|
| 137 |
=cut |