| Bot-Net documentation | Contained in the Bot-Net distribution. |
Bot::Net::Script - implementation of the Bot::Net command-line interface
bin/botnet <command> <options>
This is a command-line interface handler based on App::CLI. This module doesn't really do a lot more than just inherit from App::CLI and handle a few special cases.
Andrew Sterling Hanenkamp <hanenkamp@cpan.org>
Copyright 2007 Boomer Consulting, Inc. All Rights Reserved.
This program is free software and may be modified or distributed under the same terms as Perl itself.
| Bot-Net documentation | Contained in the Bot-Net distribution. |
use strict; use warnings; package Bot::Net::Script; use base qw/ App::CLI /;
sub prepare { my $self = shift; if ($ARGV[0] =~ /--?h(elp?)/i) { $ARGV[0] = 'help'; } return $self->SUPER::prepare(@_); }
1;