Game-CharacterSheetGenerator
view release on metacpan or search on metacpan
script/character-sheet-generator view on Meta::CPAN
#!/usr/bin/env perl
# Copyright (C) 2022 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
character-sheet-generator - a web app to generate character sheets
=head1 SYNOPSIS
character-sheet-generator daemon --listen "http://*:3040"
character-sheet-generator random
=head1 DESCRIPTION
B<daemon>: This command starts a web server using Mojolicious.
B<random>: This command prints a random character to standard output.
See L<Game::CharacterSheetGenerator::Command::Random> for options.
=head1 SEE ALSO
For more information, see L<Game::CharacterSheetGenerator>.
=head1 LICENSE
GNU Affero General Public License
=cut
use FindBin;
use lib "$FindBin::Bin/../lib";
my $res = require Game::CharacterSheetGenerator
or not defined $res and die "Cannot load Game::CharacterSheetGenerator: $!"
or not $res and die "Game::CharacterSheetGenerator did not return a true value\n";
( run in 2.615 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )