#!perl

our $DATE = '2017-11-10'; # DATE
our $VERSION = '0.001'; # VERSION

use strict;
use warnings;
use App::DAVThis;

App::DAVThis->new->run;

# ABSTRACT: Export the current directory over WebDAV
# PODNAME: dav_this

__END__

=pod

=encoding UTF-8

=head1 NAME

dav_this - Export the current directory over WebDAV

=head1 VERSION

This document describes version 0.001 of dav_this (from Perl distribution App-DAVThis), released on 2017-11-10.

=head1 SYNOPSIS

 ## Export the current directory over WebDAV
 $ dav_this

You can then use a WebDAV client like the command-line C<cadaver> or the GUI
C<nautilus> (dav://localhost:4242/)

 ## Export the `dir_name` directory over WebDAV, specify port
 $ dav_this dir_name --port 8242

 ## Show documentation about our options
 $ dav_this --help

 ## Show the entire man page
 $ dav_this --man

=head1 DESCRIPTION

This script exports the current directory over WebDAV.

=head1 ARGUMENTS

The script accepts a single optional argument: the path of the directory to
export.

=head1 OPTIONS

The following options are available:

=over 4

=item --port PORT

Start the server on a specific C<PORT>. Default is 4242.

=item --help

Print information about the script usage and its options.

=item --man

Print the entire man page for the command.

=back

=head1 TODO

=head1 HOMEPAGE

Please visit the project's homepage at L<https://metacpan.org/release/App-DAVThis>.

=head1 SOURCE

Source repository is at L<https://github.com/perlancar/perl-App-DAVThis>.

=head1 BUGS

Please report any bugs or feature requests on the bugtracker website L<https://rt.cpan.org/Public/Dist/Display.html?Name=App-DAVThis>

When submitting a bug or request, please include a test-file or a
patch to an existing test-file that illustrates the bug or desired
feature.

=head1 SEE ALSO

Other scripts in the same spirit: L<http_this> (from L<App::HTTPThis>),
L<https_this> (from L<App::HTTPThis>), L<ftp_this> (from L<App::FTPThis>),
L<cgi_this> (from L<App::CGIThis>).

=head1 AUTHOR

perlancar <perlancar@cpan.org>

=head1 COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by perlancar@cpan.org.

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

=cut
