App::upgrade-raku
App::upgrade-raku
Table of Contents
L<Introduction|#introduction>
L<upgrade-raku build|#upgrade-raku-build>
L<upgrade-raku download|#upgrade-raku-download>
L<upgrade-raku dl|#upgrade-raku-dl>
L<upgrade-raku add zef|#upgrade-raku-add-zef>
L<upgrade-raku add apt|#upgrade-raku-add-apt>
L<upgrade-raku list zef|#upgrade-raku-list-zef>
L<upgrade-raku list apt|#upgrade-raku-list-apt>
L<upgrade-raku download|#upgrade-raku-download>
L<upgrade-raku download|#upgrade-raku-download>
L<upgrade-raku download|#upgrade-raku-download>
NAME
App::upgrade-raku
AUTHOR
Francis Grizzly Smit ([email protected])
VERSION
0.1.0
COPYRIGHT
LGPL V3.0+ LICENSE
Introduction
A B<Raku> application for updating/upgrading the local B<Raku> install. It also installs and upgrades the packages and any system packages.
NB: I only support the moar backend for now. And for now I only support the apt command as I use Ubuntu, I will give supporting other package managing software some thought.
upgrade-raku build
Upgrade Raku using the rakubrew build moar method.
multi sub MAIN('build',
Bool:D :u(:upgrade(:$upgrade-the-packages)) = False --> Int:D)
upgrade-raku download
Upgrade Raku using the rakubrew download method.
multi sub MAIN('download',
Bool:D :u(:upgrade(:$upgrade-the-packages)) = False --> Int:D)
upgrade-raku dl
An alias for upgrade-raku download.
multi sub MAIN('dl',
Bool:D :u(:upgrade(:$upgrade-the-packages)) = False --> Int:D)
upgrade-raku add zef
Add Raku packages to be installed with zef.
upgrade-raku add zef --help
Usage:
upgrade-raku add zef <pkg> [<additional-pkgs> ...] [--force-test] [-c|--comment=<Str>] [--<additional-pkgs-with-comments>=...]
Where
B<C<pkg>> is a B<Raku> package to be installed.
B<C<--force-test>> if present the package B<pkg> will be installed with the --force-test option to zef.
if you want to B<--force-test> multiple packages you'll need to add them separately.
B<C<-c|--comment>> if supplied is a comment to add to B<pkg>.
B<C<additional-pkgs>> is an array of packages to add without comments or options.
B<C<--additional-pkgs-with-comments=...>> is a hash of packages and comments to add.
looks like this B<upgrade-raku add zef ... --pkg1=comment1 --pkg2=comment2 ...>.
upgrade-raku add apt
Add system packages to be installed with apt.
upgrade-raku add apt --help
Usage:
upgrade-raku add apt <pkg> [<additional-pkgs> ...] [-c|--comment=<Str>] [--<additional-pkgs-with-comments>=...]
Where
B<C<pkg>> is a B<Raku> package to be installed.
B<C<-c|--comment>> if supplied is a comment to add to B<pkg>.
B<C<additional-pkgs>> is an array of packages to add without comments or options.
B<C<--additional-pkgs-with-comments=...>> is a hash of packages and comments to add.
looks like this B<upgrade-raku add zef ... --pkg1=comment1 --pkg2=comment2 ...>.
upgrade-raku list zef
List the Raku packages to be installed with zef.
upgrade-raku list zef --help
Usage:
upgrade-raku list zef [<prefix>] [-c|--color|--colour] [-s|--syntax] [-l|--page-length[=Int]] [-p|--pattern=<Str>] [-e|--ecma-pattern=<Str>]
Where
B<C<prefix>> if present only lines that some field start with B<prefix> will be listed.
B<C<-c|--color|--colour>> if present display ANSI coloured text.
B<C<-s|--syntax>> if present display text syntax highlighted.
B<NB: If both --syntax and --colour are supplied then --syntax wins>.
B<C<-l|--page-length[=Int]>> if present sets the page length (defaults to 30 items).
B«C«-p|--pattern=<Str>»» if present only lines that have fields that match B<pattern> are listed.
B«C«-e|--ecma-pattern=<Str>»» if present only lines that have fields that match B<pattern> are listed.
B«If both --pattern and --ecma-pattern are supplied then --pattern wins».
upgrade-raku list apt
List the system packages to be installed with apt.
upgrade-raku list apt --help
Usage:
upgrade-raku list apt [<prefix>] [-c|--color|--colour] [-s|--syntax] [-l|--page-length[=Int]] [-p|--pattern=<Str>] [-e|--ecma-pattern=<Str>]
Where
B<C<prefix>> if present only lines that some field start with B<prefix> will be listed.
B<C<-c|--color|--colour>> if present display ANSI coloured text.
B<C<-s|--syntax>> if present display text syntax highlighted.
B<NB: If both --syntax and --colour are supplied then --syntax wins>.
B<C<-l|--page-length[=Int]>> if present sets the page length (defaults to 30 items).
B«C«-p|--pattern=<Str>»» if present only lines that have fields that match B<pattern> are listed.
B«C«-e|--ecma-pattern=<Str>»» if present only lines that have fields that match B<pattern> are listed.
B«If both --pattern and --ecma-pattern are supplied then --pattern wins».