App::upgrade-raku
Francis Grizzly Smit (grizzly@smit.id.au)
0.1.2
App::upgrade-raku
A Raku application for updating/upgrading the local Raku install. It also installs and upgrades the packages and any system packages.
LGPL V3.0+ LICENSE
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.
b<Note: uses rakubrew under the hood for the actual Raku install/upgrade, will check for a new version etc.>
Upgrade Raku using the rakubrew build moar method.
multi sub MAIN('build',
Bool:D :u(:upgrade(:$upgrade-the-packages)) = False --> Int:D)
Upgrade Raku using the rakubrew download method.
multi sub MAIN('download',
Bool:D :u(:upgrade(:$upgrade-the-packages)) = False --> Int:D)
An alias for upgrade-raku download.
multi sub MAIN('dl',
Bool:D :u(:upgrade(:$upgrade-the-packages)) = False --> Int:D)
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
-
pkg
is a Raku package to be installed. -
--force-test
if present the package pkg will be installed with the --force-test option to zef.- if you want to --force-test multiple packages you'll need to add them separately.
-
-c|--comment
if supplied is a comment to add to pkg. -
additional-pkgs
is an array of packages to add without comments or options. -
--additional-pkgs-with-comments=...
is a hash of packages and comments to add.- looks like this upgrade-raku add zef ... --pkg1=comment1 --pkg2=comment2 ....
-
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
-
pkg
is a Raku package to be installed. -
-c|--comment
if supplied is a comment to add to pkg. -
additional-pkgs
is an array of packages to add without comments or options. -
--additional-pkgs-with-comments=...
is a hash of packages and comments to add.- looks like this upgrade-raku add zef ... --pkg1=comment1 --pkg2=comment2 ....
-
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
-
prefix
if present only lines that some field start with prefix will be listed. -
-c|--color|--colour
if present display ANSI coloured text. -
-s|--syntax
if present display text syntax highlighted.- NB: If both --syntax and --colour are supplied then --syntax wins.
-
-l|--page-length[=Int]
if present sets the page length (defaults to 30 items). -
-p|--pattern=<Str>
if present only lines that have fields that match pattern are listed. -
-e|--ecma-pattern=<Str>
if present only lines that have fields that match pattern are listed.- If both --pattern and --ecma-pattern are supplied then --pattern wins.
-
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
-
prefix
if present only lines that some field start with prefix will be listed. -
-c|--color|--colour
if present display ANSI coloured text. -
-s|--syntax
if present display text syntax highlighted.- NB: If both --syntax and --colour are supplied then --syntax wins.
-
-l|--page-length[=Int]
if present sets the page length (defaults to 30 items). -
-p|--pattern=<Str>
if present only lines that have fields that match pattern are listed. -
-e|--ecma-pattern=<Str>
if present only lines that have fields that match pattern are listed.- If both --pattern and --ecma-pattern are supplied then --pattern wins.
-