CPAN/Maker/Bootstrapper/Role/CreateConfig.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 21 CC 1 SCAR 6.9
CC
1
Cov
0%
cmd_create_config
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package CPAN::Maker::Bootstrapper::Role::CreateConfig;
2  
3 use strict;
4 use warnings;
5  
6 use CLI::Simple::Constants qw(:booleans);
7  
8 use Role::Tiny;
9  
10 ########################################################################
11 sub cmd_create_config {
12 ########################################################################
13 my ($self) = @_;
14  
15 print <<'END_STUB';
16 # CPAN::Maker configuration file
17 # Use with: cpan-maker-bootstrapper --config /path/to/this/file
18 # Or set: export CPAN_MAKER_CONFIG=/path/to/this/file
19  
20 [user]
21 # your full name
22 name =
23 # your email address
24 email =
25 # your GitHub username (used to construct repository URLs)
26 github =
27  
28 [cpan-maker]
29 # directory in which new projects are created
30 # basedir = ~/git
31  
32 # generate GitHub resource URLs (currently only 'github' supported)
33 # resources = github
34  
35 # enable perl -wc syntax checking in pattern rules
36 # syntax-checking = on
37  
38 # path to perltidy configuration file (enables tidy checking)
39 # perltidyrc = ~/.perltidyrc
40  
41 # path to perlcritic configuration file (enables critic checking)
42 # perlcriticrc = ~/.perlcriticrc
43  
44 # shell command that prints your LLM API key (recommended)
45 # llm-api-key-helper = cat ~/.ssh/anthropic-api-key
46  
47 # maximum number of output tokens
48 # max-tokens = 4096
49  
50 END_STUB
51  
52 return $SUCCESS;
53 }
54  
55 1;