NAME
Ixchel::Actions::github_fetch_release_asset - Fetch an release asset from a github repo.
VERSION
Version 0.1.0
CLI SYNOPSIS
ixchel -a github_fetch_release_asset -o <owner> -r <repo> -f <asset> -P [--pre] -P
ixchel -a github_fetch_release_asset -o <owner> -r <repo> -f <asset> -w <outfile> [--ppre] [-N] [-A] [-B] [-U] <umask>
CODE 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.
--pre
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.
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.
.content :: Fetched content.