| 1 | package Dancer2::CLI::Version; | ||
| 2 | # ABSTRACT: Display Dancer2 version | ||
| 3 | 8 | $Dancer2::CLI::Version::VERSION = '2.3.0'; | |
| 4 | 8 | ▶ | use Moo; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | use CLI::Osprey | ||
| 6 | 8 | ▶ | desc => 'Display version of Dancer2'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 0 | ▶ | sub run { |
|
Subroutine
run: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 9 | 0 | my $self = shift; | |
| 10 | 0 | print "Dancer2 " . $self->parent_command->_dancer2_version, "\n"; | |
| 11 | } | ||
| 12 | |||
| 13 | 8 | 1; | |
| 14 | |||
| 15 | __END__ | ||