#!/usr/bin/env perl
# Copyright (C) 2021  Alex Schroeder <alex@gnu.org>
#
# This program is free software: you can redistribute it and/or modify it under
# the terms of the GNU Affero General Public License as published by the Free
# Software Foundation, either version 3 of the License, or (at your option) any
# later version.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
# details.
#
# You should have received a copy of the GNU Affero General Public License along
# with this program. If not, see <http://www.gnu.org/licenses/>.

=head1 NAME

text-mapper - a web app to generate maps based on text files

=head1 SYNOPSIS

    text-mapper daemon --listen "http://*:3010"

=head1 DESCRIPTION

This command starts a web server using Mojolicious.

=head1 SEE ALSO

For more information, see L<Game::TextMapper>.

=head1 LICENSE

GNU Affero General Public License

=cut

use FindBin;
use lib "$FindBin::Bin/../lib";
my $res = require Game::TextMapper
    or not defined $res and die "Cannot load Game::TextMapper: $!"
    or not $res and die "Game::TextMapper did not return a true value\n";
