NAME
App::Pastebin::Create2 - Simple CLI App to create and upload to Pastebin.com
VERSION
version 0.15
SYNOPSIS
pastebin-create --text 'TEXT' --format 'none' --expiry 10m --private 0 --desc 'A TITLE'
Note
This is a continuation of abandoned App::Pastebin::Create. So, please use this distribution instead of the halted module.
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
Change to any number other than 1 to make your paste, publicly available.
--desc, -d
OPTIONAL
Your paste title description.
Testing & Manual Installation
perl Makefile.PL && make test
# install
make install
# cpanm
cpanm App-Pastebin-Create2-[VERSION].tar.gz
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.