logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Catmandu::Interactive - An interactive command line interpreter of the Fix language

Configuration

       in  Read input from an IO::Handle

       out Write output to an IO::Handle

       silent
           If set true, then no headers or prompts are printed

       data
           A hash containing the input record

       exporter
           The name of an exporter package

       exporter_args
           The options for the exporter

Description

       This module provide a simple interactive interface to the Catmandu Fix language.

Methods

run
       Run the interactive environment.

Name

       Catmandu::Interactive - An interactive command line interpreter of the Fix language

See Also

       Catmandu

perl v5.40.0                                       2025-01-17                         Catmandu::Interactive(3pm)

Synopsis

          # On the command line
          catmandu run

          # Or, in Perl
          use Catmandu::Interactive;
          use Getopt::Long;

          my $exporter = 'YAML';

          GetOptions("exporter=s" => \$exporter);

          my $app = Catmandu::Interactive->new(exporter => $exporter);

          $app->run();

See Also