NAME

Ixchel::Actions::github_fetch_release_asset :: Fetch an release asset from a github repo.

VERSION

Version 0.0.1

SYNOPSIS

use Data::Dumper;

my $results=$ixchel->action(action=>'github_fetch_release_asset',
                            opts=>{o=>'mikefarah', r=>'yq', f=>'checksums' w=>'/tmp/yq-checksums' });

print Dumper($results);

FLAGS

Fetch an release asset from a github repo for the latest release.

-o <owner>

The repo owner.

-r <repo>

The repo to fetch it from in org/repo format.

-f <asset>

The name of the asset to fetch for a release.

-p

Pre-releases are okay.

-d

Draft-releases are okay.

-P

Print it out instead of writing it out.

-w <output>

Where to write the output to.

-N

Do not overwrite if the file already exists.

-A

Write the file out in append mode.

-B

Write the file in a atomicly if possible.

-U

Umask to use. If undef will default to what ever sysopen is.