Scroll to navigation

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

NAME

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

VERSION

version 0.96

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.
2014-01-29 perl v5.18.2