#!/usr/bin/env perl
use strict;
use warnings;
use Bot::BasicBot::Pluggable::FromConfig;

=head1 NAME

run_bot

=cut

my $bot = Bot::BasicBot::Pluggable::FromConfig->new_with_config(
    config => $ARGV[0],
);
$bot->run;

=head1 SYNOPSIS

    run_bot ./my/config/file.json

=head1 DESCRIPTION

This provides a simple CLI to L<Bot::BasicBot::Pluggable::FromConfig>. It accepts a single argument which will be provided as the name argument to L<Config::JDFI>.

See L<Bot::BasicBot::Pluggable::FromConfig#new_from_config> for more details

=cut
