Pinto-Remote-SelfContained
view release on metacpan or search on metacpan
lib/Pinto/Remote/SelfContained/App.pm view on Meta::CPAN
if $filename !~ /\.tar\.gz/;
return archives => [{
name => 'archives',
filename => $filename,
type => 'application/x-tar',
encoding => 'gzip',
}];
},
opt_spec => [
[ 'author=s' => 'The ID of the archive author' ],
[ 'cascade' => 'Always pick latest upstream package' ],
[ 'diff-style=s' => 'Set style of diff reports' ],
[ 'dry-run' => 'Do not commit any changes' ],
[ 'message|m=s' => 'Message to describe the change' ],
[ 'no-fail' => 'Do not fail when there is an error' ],
[ 'no-index|x=s@' => 'Do not index matching packages' ],
[ 'recurse!' => 'Recursively pull prereqs (negatable)' ],
[ 'pin' => 'Pin packages to the stack' ],
[ 'skip-missing-prerequisite|k=s@' => 'Skip missing prereq (repeatable)' ],
[ 'skip-all-missing-prerequisites|K' => 'Skip all missing prereqs' ],
[ 'stack|s=s' => 'Put packages into this stack' ],
lib/Pinto/Remote/SelfContained/App.pm view on Meta::CPAN
my ($name, $value) = $item =~ /\A--?(.+?)(?:=(.*?))?\z/ms;
$new{$name} = $value;
}
$opts->{cpanm_options} = \%new;
}
$opts->{cpanm_options}{'local-lib'} = $_ for grep defined, delete $opts->{local_lib};
$opts->{cpanm_options}{'local-lib-contained'} = $_ for grep defined, delete $opts->{local_lib_contained};
return targets => [@_];
},
opt_spec => [
[ 'cascade' => 'Always pick latest upstream package' ],
[ 'cpanm-exe|cpanm=s' => 'Path to the cpanm executable' ],
[ 'cpanm-options|o=s@' => 'name=value pairs of cpanm options' ],
[ 'diff-style=s' => 'Set style of diff reports' ],
[ 'local-lib|l=s' => 'install into a local lib directory' ],
[ 'local-lib-contained|L=s' => 'install into a contained local lib directory' ],
[ 'message|m=s' => 'Message to describe the change' ],
[ 'do-pull' => 'pull missing prereqs onto the stack first' ],
[ 'stack|s=s' => 'Install modules from this stack' ],
[ 'use-default-message|M' => 'Use the generated message' ],
],
lib/Pinto/Remote/SelfContained/App.pm view on Meta::CPAN
opt_spec => [
[ 'format=s' => 'Format specification' ],
[ 'properties|prop|P=s%' => 'name=value pairs of properties' ],
],
},
pull => {
summary => 'pull archives from upstream repositories',
usage_desc => '%c %o TARGET...',
args => 'targets*',
opt_spec => [
[ 'cascade' => 'Always pick latest upstream package' ],
[ 'diff-style=s' => 'Set style of diff reports' ],
[ 'dry-run' => 'Do not commit any changes' ],
[ 'message|m=s' => 'Message to describe the change' ],
[ 'no-fail' => 'Do not fail when there is an error' ],
[ 'recurse!' => 'Recursively pull prereqs (negatable)' ],
[ 'pin' => 'Pin the packages to the stack' ],
[ 'skip-missing-prerequisite|k=s@' => 'Skip missing prereq (repeatable)' ],
[ 'skip-all-missing-prerequisites|K' => 'Skip all missing prereqs' ],
[ 'stack|s=s' => 'Put packages into this stack' ],
[ 'use-default-message|M' => 'Use the generated message' ],
lib/Pinto/Remote/SelfContained/App.pm view on Meta::CPAN
[ 'stack|s=s' => 'Remove packages from this stack' ],
[ 'use-default-message|M' => 'Use the generated message' ],
],
},
update => {
summary => 'update packages to latest versions',
usage_desc => '%c %o TARGET...',
args => 'targets*',
opt_spec => [
[ 'all' => 'Update all packages in the stack' ],
[ 'cascade' => 'Always pick latest upstream package' ],
[ 'diff-style=s' => 'Set style of diff reports' ],
[ 'dry-run' => 'Do not commit any changes' ],
[ 'force' => 'Force update, even if pinned' ],
[ 'message|m=s' => 'Message to describe the change' ],
[ 'no-fail' => 'Do not fail when there is an error' ],
[ 'recurse!' => 'Recursively pull prereqs (negatable)' ],
[ 'pin' => 'Pin the packages to the stack' ],
[ 'roots' => 'Update all root packages in the stack' ],
[ 'skip-missing-prerequisite|k=s@' => 'Skip missing prereq (repeatable)' ],
[ 'skip-all-missing-prerequisites|K' => 'Skip all missing prereqs' ],
( run in 0.585 second using v1.01-cache-2.11-cpan-49f99fa48dc )