Shawn M Moore > App-Nopaste-0.35 > App::Nopaste::Command

Download:
App-Nopaste-0.35.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  1
View/Report Bugs
Source   Latest Release: App-Nopaste-0.96

NAME ^

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

nopaste - command-line utility to nopaste

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.

syntax highlighting: