#!perl
use strict;
use warnings;
use OptArgs qw/dispatch/;

dispatch(qw/run App::bifsync/);

__END__


=head1 NAME

bifsync - synchronization server for bif hubs

=head1 VERSION

0.1.0_21 (2014-05-09)

=head1 SYNOPSIS

  bifsync [DIRECTORY] [OPTIONS...]

=head1 DESCRIPTION

The B<bifsync> command handles synchronization requests from L<bif>
clients.

Input is accepted on I<stdin>. Normal output is printed to I<stdout>.
Error messages are sent to I<stderr>.  Information and errors are
logged to the syslog.

An exit value of zero indicates success.

=head1 ARGUMENTS & OPTIONS

=over

=item DIRECTORY

A directory containing a bare bif repository. Defaults to
F<default.bif>.

=item --debug, -d

Add debugging statements to I<stderr>. Syslog will not be used.

=back

=head1 SEE ALSO

L<bif>(1)

=head1 AUTHOR

Mark Lawrence E<lt>nomad@null.netE<gt>

=head1 COPYRIGHT AND LICENSE

Copyright 2013-2014 Mark Lawrence <nomad@null.net>

This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 3 of the License, or (at your
option) any later version.

