| 1 | package App::lcpan::Cmd::colortheme_mods; | ||
| 2 | |||
| 3 | 1 | our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY | |
| 4 | 1 | our $DATE = '2020-11-30'; # DATE | |
| 5 | 1 | our $DIST = 'App-lcpan-CmdBundle-colortheme'; # DIST | |
| 6 | 1 | our $VERSION = '0.001'; # VERSION | |
| 7 | |||
| 8 | 1 | ▶ | use 5.010001; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | |||
| 12 | 1 | require App::lcpan; | |
| 13 | 1 | ▶ | use Hash::Subset qw(hash_subset); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 14 | |||
| 15 | 1 | our %SPEC; | |
| 16 | |||
| 17 | $SPEC{handle_cmd} = { | ||
| 18 | 1 | v => 1.1, | |
| 19 | summary => 'List ColorTheme modules available on CPAN', | ||
| 20 | args => { | ||
| 21 | %App::lcpan::common_args, | ||
| 22 | %App::lcpan::query_multi_args, | ||
| 23 | %App::lcpan::fauthor_args, | ||
| 24 | %App::lcpan::fdist_args, | ||
| 25 | %App::lcpan::flatest_args, | ||
| 26 | %App::lcpan::sort_modules_args, | ||
| 27 | }, | ||
| 28 | }; | ||
| 29 | 0 | ▶ | sub handle_cmd { |
|
Subroutine
handle_cmd: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 30 | 0 | my %args = @_; | |
| 31 | |||
| 32 | 0 | my $res = App::lcpan::modules( | |
| 33 | %args, | ||
| 34 | query_type=>'regexp-name', | ||
| 35 | query=>['^(.+::)?ColorTheme::'], | ||
| 36 | ); | ||
| 37 | |||
| 38 | 0 | $res; | |
| 39 | } | ||
| 40 | |||
| 41 | 1 | 1; | |
| 42 | # ABSTRACT: List ColorTheme modules available on CPAN | ||
| 43 | |||
| 44 | __END__ | ||