nfig
config - Creates an initial default configuration file.
This file will be named C<dist-mgr.json> and will be placed in your C<HOME>
directory on Unix systems, and in your C<USERPROFILE> directo
.*},
q{*.tar.gz},
q{_build/},
q{blib/},
q{Build/},
q{META.json},
q{META.yml},
q{*.old},
q{*.orig},
q{pm_to_blib},
q{.met
hgignore$},
q{^_build/},
q{^Build$},
q{^MYMETA\.yml$},
q{^MYMETA\.json$},
q{^README.bak$},
q{^Makefile$},
q{.metadata/},
q{.idea/},
ike to
write out, or read from. Default is C<$ENV{USERPROFILE}/dist-mgr.json> on
Windows systems, and C<$ENV{HOME}/dist-mgr.json> on Unix systems.
I<Returns>: The reference to the C<%args> hash you s
of the default configuration file. this is
C<$ENV{USERPROFILE}/dist-mgr.json> on Windows systems, and
C<$ENV{HOME}/dist-mgr.json> on Unix systems.
=head2 copyright_bump
Finds and updates the copyrig
e::Copy::Recursive qw(rmove_glob);
use File::Path qw(make_path rmtree);
use File::Find::Rule;
use JSON;
use Module::Starter;
use PPI;
use Term::ReadKey;
use Tie::File;
use Exporter qw(import);
our @I
export_private(),
);
our $VERSION = '1.13';
use constant {
CONFIG_FILE => 'dist-mgr.json',
GITHUB_CI_FILE => 'github_ci_default.yml',
GITHUB_CI_PATH => '.github/workflo
h, '<', $file or croak "Can't open config file $file: $!";
my $json = <$fh>;
$conf = decode_json $json;
for (keys %{ $conf }) {
delete $conf->{$_}