App::upgrade-raku

A Raku application for updating/upgrading the local Raku install. It also installs and upgrades the packages and any system packages.

App::upgrade-raku

Table of Contents

  • NAME

  • AUTHOR

  • VERSION

  • TITLE

  • SUBTITLE

  • COPYRIGHT

  • L<Introduction|#introduction>

    1. L<upgrade-raku build|#upgrade-raku-build>

    2. L<upgrade-raku download|#upgrade-raku-download>

    3. L<upgrade-raku dl|#upgrade-raku-dl>

    4. L<upgrade-raku add zef|#upgrade-raku-add-zef>

    5. L<upgrade-raku add apt|#upgrade-raku-add-apt>

    6. L<upgrade-raku list zef|#upgrade-raku-list-zef>

    7. L<upgrade-raku list apt|#upgrade-raku-list-apt>

    8. L<upgrade-raku download|#upgrade-raku-download>

    9. L<upgrade-raku download|#upgrade-raku-download>

    10. 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

Top of Document

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) 

Top of Document

upgrade-raku download

Upgrade Raku using the rakubrew download method.


multi sub MAIN('download',
                Bool:D :u(:upgrade(:$upgrade-the-packages)) = False --> Int:D) 

Top of Document

upgrade-raku dl

An alias for upgrade-raku download.


multi sub MAIN('dl',
                Bool:D :u(:upgrade(:$upgrade-the-packages)) = False --> Int:D) 

Top of Document

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

    1. B<C<pkg>> is a B<Raku> package to be installed.

    2. B<C<--force-test>> if present the package B<pkg> will be installed with the --force-test option to zef.

      1. if you want to B<--force-test> multiple packages you'll need to add them separately.

    3. B<C<-c|--comment>> if supplied is a comment to add to B<pkg>.

    4. B<C<additional-pkgs>> is an array of packages to add without comments or options.

    5. B<C<--additional-pkgs-with-comments=...>> is a hash of packages and comments to add.

      1. looks like this B<upgrade-raku add zef ... --pkg1=comment1 --pkg2=comment2 ...>.

Top of Document

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

    1. B<C<pkg>> is a B<Raku> package to be installed.

    2. B<C<-c|--comment>> if supplied is a comment to add to B<pkg>.

    3. B<C<additional-pkgs>> is an array of packages to add without comments or options.

    4. B<C<--additional-pkgs-with-comments=...>> is a hash of packages and comments to add.

      1. looks like this B<upgrade-raku add zef ... --pkg1=comment1 --pkg2=comment2 ...>.

Top of Document

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

    1. B<C<prefix>> if present only lines that some field start with B<prefix> will be listed.

    2. B<C<-c|--color|--colour>> if present display ANSI coloured text.

    3. B<C<-s|--syntax>> if present display text syntax highlighted.

      1. B<NB: If both --syntax and --colour are supplied then --syntax wins>.

    4. B<C<-l|--page-length[=Int]>> if present sets the page length (defaults to 30 items).

    5. B«C«-p|--pattern=<Str>»» if present only lines that have fields that match B<pattern> are listed.

    6. B«C«-e|--ecma-pattern=<Str>»» if present only lines that have fields that match B<pattern> are listed.

      1. B«If both --pattern and --ecma-pattern are supplied then --pattern wins».

Top of Document

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

    1. B<C<prefix>> if present only lines that some field start with B<prefix> will be listed.

    2. B<C<-c|--color|--colour>> if present display ANSI coloured text.

    3. B<C<-s|--syntax>> if present display text syntax highlighted.

      1. B<NB: If both --syntax and --colour are supplied then --syntax wins>.

    4. B<C<-l|--page-length[=Int]>> if present sets the page length (defaults to 30 items).

    5. B«C«-p|--pattern=<Str>»» if present only lines that have fields that match B<pattern> are listed.

    6. B«C«-e|--ecma-pattern=<Str>»» if present only lines that have fields that match B<pattern> are listed.

      1. B«If both --pattern and --ecma-pattern are supplied then --pattern wins».

Top of Document

App::upgrade-raku.raku v0.1.0

A Raku application for updating/upgrading the local Raku install. It also installs and upgrades the packages and any system packages.

Authors

  • Francis Grizzly Smit

License

LGPL-3.0-or-later

Dependencies

Terminal::ANSITerminal::WidthTerminal::WCWidthECMA262RegexDisplay::Listings

Test Dependencies

Provides

  • App::upgrade-raku

Documentation

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.