| 1 |
package Dancer2::CLI::Version; |
| 2 |
# ABSTRACT: Display Dancer2 version |
| 3 |
$Dancer2::CLI::Version::VERSION = '2.2.2'; |
| 4 |
use Moo; |
| 5 |
use CLI::Osprey |
| 6 |
desc => 'Display version of Dancer2'; |
| 7 |
|
| 8 |
sub run { |
| 9 |
my $self = shift; |
| 10 |
print "Dancer2 " . $self->parent_command->_dancer2_version, "\n"; |
| 11 |
} |
| 12 |
|
| 13 |
1; |
| 14 |
|
| 15 |
__END__ |
| 16 |
|
| 17 |
=pod |
| 18 |
|
| 19 |
=encoding UTF-8 |
| 20 |
|
| 21 |
=head1 NAME |
| 22 |
|
| 23 |
Dancer2::CLI::Version - Display Dancer2 version |
| 24 |
|
| 25 |
=head1 VERSION |
| 26 |
|
| 27 |
version 2.2.2 |
| 28 |
|
| 29 |
=head1 AUTHOR |
| 30 |
|
| 31 |
Dancer Core Developers |
| 32 |
|
| 33 |
=head1 COPYRIGHT AND LICENSE |
| 34 |
|
| 35 |
This software is copyright (c) 2026 by Alexis Sukrieh. |
| 36 |
|
| 37 |
This is free software; you can redistribute it and/or modify it under |
| 38 |
the same terms as the Perl 5 programming language system itself. |
| 39 |
|
| 40 |
=cut |