| 1 | package CPAN::Maker::Bootstrapper::Role::CreateConfig; | ||
| 2 | |||
| 3 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 2 | ▶ | use CLI::Simple::Constants qw(:booleans); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 2 | ▶ | use Role::Tiny; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | |||
| 10 | ######################################################################## | ||
| 11 | 0 | ▶ | sub cmd_create_config { |
|
Subroutine
cmd_create_config: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 12 | ######################################################################## | ||
| 13 | 0 | my ($self) = @_; | |
| 14 | |||
| 15 | 0 | 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 | 0 | return $SUCCESS; | |
| 53 | } | ||
| 54 | |||
| 55 | 2 | 1; | |