#!/usr/pkg/bin/perl -w

eval 'exec /usr/local/bin/perl -w -S $0 ${1+"$@"}'
    if 0; # not running under some shell
use strict;
use warnings;
our $VERSION = '0.37';

use lib 'lib';
use Kwiki;
my @configs = qw(config*.yaml -plugins plugins);
Kwiki->new->load_hub(@configs)->command->process(@ARGV)->hub->remove_hooks;

__END__

=head1 NAME

kwiki - The Kwiki Command Line Tool

=head1 USAGE

    > kwiki -new cgi-bin/my-kwiki

    Kwiki software installed! Point your browser at this location.

=head1 DESCRIPTION

Kwiki is a simple extendable wiki framework, written in Perl.

See L<Kwiki::Command> for more information on using the command line tool.

=head1 NOTE

If you are on Mac OS X, use the command C<perldoc Kwiki.pm> to get the
Kwiki B<module> documentation.

=head1 AUTHOR

Brian Ingerson <ingy@cpan.org>

=head1 COPYRIGHT

Copyright (c) 2004. Brian Ingerson. All rights reserved.

This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.

See http://www.perl.com/perl/misc/Artistic.html

=cut

# vim: set ft=perl:
