The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Bot::Net::Script::Server - Create a new server

SYNOPSIS

  bin/botnet server --name <server name> [ <options> ]

DESCRIPTION

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.

OPTIONS

  --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.

METHODS

options

Returns the arguments used by this script. See App::CLI::Command.

run

Create the server class and associated files.

NAME

@{[$self->server_class]} - A host for semi-autonomous agents

SYNOPSIS

  bin/botnet run --server $self->{name}

DESCRIPTION

A host for semi-autonomous agents. This documentation needs replacing.

AUTHORS

Andrew Sterling Hanenkamp <hanenkamp@cpan.org>

COPYRIGHT AND LICENSE

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.