Bot::Net::Script::Server - Create a new server
bin/botnet server --name <server name> [ <options> ]
This script create the required class and configuration for a new bot server. Bot servers are used to host groups of bots (and possibly humans) where they can interact. This will also help build stubs for tests.
If you only specify the server name, a vanilla server will be created. This server will use Bot::Net::Server, but no other mixins. This is probably not what you want. The options can be used to either clone another server you already have available in your bot net application or add additional mixins.
--name <server name> - The name of the server class to create --mixin <mixin name> - The name of the server mixin to add to the class. You may use this option multiple times to add multiple mixins. --clone <server name> - The name of an existing server to clone from. By using this option, the new server will inherit from the existing server and receive a copy of the original server's configuration.
Returns the arguments used by this script. See App::CLI::Command.
Create the server class and associated files.
@{[$self->server_class]} - A host for semi-autonomous agents
bin/botnet run --server $self->{name}
A host for semi-autonomous agents. This documentation needs replacing.
Andrew Sterling Hanenkamp <hanenkamp@cpan.org>
<hanenkamp@cpan.org>
Copyright 2007 Boomer Consulting, Inc. All Rights Reserved.
This program is free software and may be modified and distributed under the same terms as Perl itself.
To install Bot::Net, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bot::Net
CPAN shell
perl -MCPAN -e shell install Bot::Net
For more information on module installation, please visit the detailed CPAN module installation guide.