#!perl

use strict;
use warnings;
use App::Filite::Client;

exit( App::Filite::Client->new_from_config->execute );

__END__

=pod

=encoding utf-8

=head1 NAME

filite-client - command-line client for Filite servers

=head1 SYNOPSIS

  filite-client: share via a filite server
  
  Usage:
    filite-client [options] [filename]
	 filite-client [options] [url]
    cat blah | filite-client [options] -
  
  Options:
    --text             Share as text
    --file             Share as file
    --link             Share as link
    --highlight        Syntax highligh text
    --help, --usage    Show this usage information

=head1 DESCRIPTION

Share a file, chunk of text, or link via a Filite server.

Filite is a URL shortner, file sharer, and pastebin that you can self-host.

=head1 BUGS

Please report any bugs to
L<https://github.com/tobyink/p5-app-filite-client/issues>.

=head1 SEE ALSO

L<https://github.com/raftario/filite>,
L<App::Filite::Client>.

=head1 AUTHOR

Toby Inkster E<lt>tobyink@cpan.orgE<gt>.

=head1 COPYRIGHT AND LICENCE

This software is copyright (c) 2023 by Toby Inkster.

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

=head1 DISCLAIMER OF WARRANTIES

THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.

