The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

App::Pastebin::Create2 - Simple CLI App to create and upload to Pastebin.com

VERSION

version 0.05

SYNOPSIS

pastebin-create --text 'TEXT' --format 'none' --expiry 10m --private 0 --desc 'A TITLE'

Flags

--text, -t

REQUIRED

This flag required to run the program (at minimum).

Text to paste flag.

--format, -f

OPTIONAL

Syntax highlighting choice, see here for list - WWW::Pastebin::PastebinCom::Create

--expiry, -e

OPTIONAL

DEFAULT TO: 30 days/1 month

Your paste time to expired.

Example: Never, 10m (10 minutes)

--private, -p

OPTIONAL

Defaults to 1: make your pastes unlisted

--desc, -d

OPTIONAL

Your paste title description.

Testing & Manual Installation

perl Makefile.PL && make test

# install
make install

SEE ALSO

https://metacpan.org/pod/WWW::Pastebin::PastebinCom::Create

https://metacpan.org/pod/App::Nopaste

AUTHOR

faraco <skelic3@gmail.com>, mfzz <mfzz@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by faraco <skelic3@gmail.com>, mfzz <mfzz@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.