Bug 1088156 - Add a config file for Reply

r=gerv a=glob
parent c97e6478
......@@ -33,6 +33,10 @@ bz_webservice_demo.pl -- An example script that demonstrates how to talk to
recode.pl -- Script to convert a database from one encoding
(or multiple encodings) to UTF-8.
replyrc -- A config file for Reply (a perl shell) that loads
Bugzilla, extensions and provides a few utility
functions for manipulating Bugzilla data.
sendbugmail.pl -- This script is a drop-in replacement for the
'processmail' script which used to be shipped
with Bugzilla, but was replaced by the
......
# This is a config file for Reply,
# which is a cpan distribution. You can install it with "cpan Reply" or "cpanm Reply".
# To use this config file, either copy as ~/.replyrc or run the following command:
# reply --cfg `pwd`/contrib/replyrc
script_line1 = use strict;
script_line2 = use warnings;
script_line3 = use v5.10;
script_line4 = use Bugzilla;
script_line5 = Bugzilla->extensions; 1;
script_line6 = sub filter { Bugzilla->template->{SERVICE}->{CONTEXT}->{CONFIG}->{FILTERS}->{$_[0]} }
script_line7 = sub b { Bugzilla::Bug->new(@_) }
script_line8 = sub u { Bugzilla::User->new(@_) }
script_line9 = sub f { Bugzilla::Field->new(@_) }
[Interrupt]
[FancyPrompt]
[DataDumper]
[Colors]
[ReadLine]
[Hints]
[Packages]
[LexicalPersistence]
[ResultCache]
[Autocomplete::Packages]
[Autocomplete::Lexicals]
[Autocomplete::Functions]
[Autocomplete::Globals]
[Autocomplete::Methods]
[Autocomplete::Commands]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment