diff options
author | Jesse Luehrs <doy@tozt.net> | 2013-06-03 15:18:17 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2013-06-03 15:51:17 -0500 |
commit | ec069554b263d4d3a60a315089e170b92badd1d8 (patch) | |
tree | 38e4b6cb2196ee0b56aa33c29df3a94c53ad1e20 /lib/Reply/Plugin/Nopaste.pm | |
parent | 60f235d03fba8232e7f691550ee715e1cfb9c5b6 (diff) | |
download | reply-ec069554b263d4d3a60a315089e170b92badd1d8.tar.gz reply-ec069554b263d4d3a60a315089e170b92badd1d8.zip |
start on some docs
Diffstat (limited to 'lib/Reply/Plugin/Nopaste.pm')
-rw-r--r-- | lib/Reply/Plugin/Nopaste.pm | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/lib/Reply/Plugin/Nopaste.pm b/lib/Reply/Plugin/Nopaste.pm index 1f64f85..085e478 100644 --- a/lib/Reply/Plugin/Nopaste.pm +++ b/lib/Reply/Plugin/Nopaste.pm @@ -1,13 +1,31 @@ package Reply::Plugin::Nopaste; use strict; use warnings; +# ABSTRACT: command to nopaste a transcript of the current session use base 'Reply::Plugin'; use App::Nopaste; -# XXX note that this has to be loaded early, in order to catch all of the -# appropriate manipulations that plugins do ([DataDump], etc) +=head1 SYNOPSIS + + ; .replyrc + [Nopaste] + service = Gist + +=head1 DESCRIPTION + +This plugin provides a C<#nopaste> command, which will use L<App::Nopaste> to +nopaste a transcript of the current Reply session. The C<service> option can be +used to choose an alternate service to use, rather than using the one that +App::Nopaste chooses on its own. If arguments are passed to the C<#nopaste> +command, they will be used as the title of the paste. + +Note that this plugin should be loaded early in your configuration file, in +order to ensure that it sees all modifications to the result (due to plugins +like [DataDump], etc). + +=cut sub new { my $class = shift; |