App::Nopaste::Command.3pm

Langue: en

Autres versions - même langue

Version: 2010-05-01 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

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. "Husk Shadowcat Rafb").

-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.

-q, --quiet

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