Man pages sections > man3 > App::Nopaste::Command

App::Nopaste::Command - command-line utility for App::Nopaste

App::Nopaste::Command(3pm) User Contributed Perl Documentation App::Nopaste::Command(3pm)

NAME

App::Nopaste::Command - command-line utility for App::Nopaste

VERSION

version 1.011

DESCRIPTION

This application will take some text on STDIN and give you a URL on STDOUT.
You may also specify files as arguments, they will be concatenated together into one large nopaste.

OPTIONS

-d, --desc

The one line description of your paste. The default is usually the first few characters of your text.

-n, --name

Your nickname, usually displayed with the paste. Default: $NOPASTE_NICK then $USER.

-l, --lang

The language of the nopaste. The values accepted depend on the nopaste service. There is no mapping done yet. Default: perl.

-c, --chan

The channel for the nopaste, not always relevant. Usually tied to a pastebot in that channel which will announce your paste.

-s, --services

The nopaste services to try, in order. You may also specify this in $NOPASTE_SERVICES (space-separated list of service names, e.g. "Shadowcat Gist").

-L, --list

List available nopaste services.

-x, --copy

If specified, automatically copy the URL to your clipboard, using the Clipboard module.

-p, --paste

If specified, use only the clipboard as input, using the Clipboard module.

-o, --open

If specified, automatically open the URL using Browser::Open. Browser::Open tries a number of different browser commands depending on your OS.

--private

If specified, the paste access will be restricted to those that know the URL.

-q, --quiet

If specified, do not warn or complain about broken services.

SUPPORT

Bugs may be submitted through the RT bug tracker <https://rt.cpan.org/Public/Dist/Display.html?Name=App-Nopaste> (or bug-App-Nopaste@rt.cpan.org <mailto:bug-App-Nopaste@rt.cpan.org>).

AUTHOR

Shawn M Moore, <sartak@gmail.com> This software is copyright (c) 2008 by Shawn M Moore.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
2017-08-27 perl v5.26.0