#!/usr/bin/perl
use
strict;
use
warnings;
use
FindBin;
use
File::Spec;
use
Plagger;
use
Getopt::Long;
my
$config
= File::Spec->catfile(
$FindBin::Bin
,
'config.yaml'
);
GetOptions(
'--config=s'
, \
$config
,
'--version'
=> \
my
$version
);
Getopt::Long::Configure(
"bundling"
);
# allows -c -v
if
(
$version
) {
"Plagger version $Plagger::VERSION\n"
;
exit
;
}
Plagger->bootstrap(
config
=>
$config
);