auto/share/dist/Setup-Project/tmpl/CLI/tmpl/__FLAVOR_NAME__.pl untested

filter: Statementstmt 0.0% 0 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod n/a totaltotal 0.0% 0 / 25 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 use strict;
2 use warnings;
3  
4 use Setup::Project::CLI qw(usage);
5 use Setup::Project::Functions;
6  
7 my $cli = Setup::Project::CLI->new;
8 $cli->version('0.01');
9  
10 my %vars = equal_style($cli->argv);
11  
12 my $maker = $cli->maker(tmpl_dir => scriptdir('<% $flavor_name %>'));
13  
14 $maker->file_vars(
15 %vars,
16 flavor_info => flavor_info(),
17 );
18 $maker->filename_vars();
19  
20 $maker->safely_run(sub {
21 $maker->render_all_files;
22 });