| 1 | #!/usr/bin/env perl | ||
| 2 | use strict; | ||
| 3 | use warnings; | ||
| 4 | |||
| 5 | use Getopt::Long; | ||
| 6 | use Pod::Usage; | ||
| 7 | use Bot::BasicBot::Pluggable::WithConfig; | ||
| 8 | |||
| 9 | my $config; | ||
| 10 | Getopt::Long::GetOptions( '--config=s' => \$config, ) | ||
| 11 | or pod2usage(2); | ||
| 12 | |||
| 13 | Bot::BasicBot::Pluggable::WithConfig->new_with_config( config => $config ) | ||
| 14 | ->run; | ||
| 15 | |||
| 16 | __END__ |