### ----------------------------------------------------
### -- Sparrow6
### -- Licenses: Artistic-2.0
### -- Authors: Alexey Melezhik
### -- File: lib/Sparrow6/DSL/Package.rakumod
### ----------------------------------------------------
use v6;

unit module Sparrow6::DSL::Package;

use Sparrow6::DSL::Common;

multi sub package-install ( @list ) is export {

    task-run "install package(s): {@list.raku}", "package-generic", %(
      list        => (join ' ', @list),
      action      => 'install',
    );

}

multi sub package-install ( %list ) is export {

    task-run "install package(s): {%list.raku}", "package-generic", %(
      list        => %list,
      action      => 'install',
    );

}

multi sub package-install ( $list ) is export {

    task-run "install package(s): {$list.raku}", "package-generic", %(
        list        => $list,
        action      => 'install'
    );

}



