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

Ixchel::Actions::install_yq - Install installs yq

VERSION

Version 0.2.0

CLI SYNOPSIS

ixchel -a install_yq

CODE SYNOPSIS

    use Data::Dumper;

    my $results=$ixchel->action(action=>'instal_yq', opts=>{});

    if ($results->{ok}) {
        print $results->{status_text};
    }else{
        die('Action errored... '.joined("\n", @{$results->{errors}}));
    }

DESCRIPTION

This installs mikefarah/yq. Will use packages if possible, otherwise will grab the binary from github.

FLAGS

-p <path>

Where to install it to if not using packages.

Default: /usr/bin/yq

-n

Don't install via packages.

RESULT HASH REF

    .errors :: A array of errors encountered.
    .status_text :: A string description of what was done and the results.
    .ok :: Set to zero if any of the above errored.