From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

NAME

Bot::Net::Script::Bot - Create a new bot

SYNOPSIS

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

DESCRIPTION

This command will create a single bot and automatically generate any additional files such as basic tests, stub configuration file, etc.

With no options other than the bot name, this will create a vanilla bot that uses the Bot::Net::Bot mixin and nothing else. The options can further customize this situation.

OPTIONS

--name <bot name> - The name of the bot class to create
--mixin <mixin name> - The name of a bot mixin to add to the class. This
option may be specified multiple times.
--clone <bot name> - The name of a bot to clone from. If given, the new
bot will inherit from the given bot's class and
the configuration for that bot will also be used
as the basis for the new class

METHODS

options

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

run

Creates the bot according to the options specified.

NAME

@{[$self->bot_class]} - A semi-autonomous agent that does something

SYNOPSIS

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

DESCRIPTION

A semi-autonomous agent that does something. 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.