The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

App::LiquidTidy - Implementation for liquid_tidy script

SYNOPSIS

    use App::LiquidTidy;
    my $app = App::LiquidTidy->new(%options);
    $app->run;

DESCRIPTION

See liquid_tidy for the command line tool documentation.

METHODS

new(%options)

Create a new app.

It will parse the file specified by $options{file}

Other %options are passed to Template::LiquidX::Tidy

run

Print the formatted file to standard output.