Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 23 lines (16 sloc) 455 Bytes
#!/usr/bin/perl
use strict;
use warnings;
use FindBin;
use File::Spec;
use lib File::Spec->catdir($FindBin::Bin, 'lib');
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) {
print "Plagger version $Plagger::VERSION\n";
exit;
}
Plagger->bootstrap(config => $config);
Jump to Line
Something went wrong with that request. Please try again.