App-Rakubrew icon indicating copy to clipboard operation
App-Rakubrew copied to clipboard

--with option missing for `exec` sub command

Open ugexe opened this issue 10 months ago • 0 comments

There doesn't seem to be a way to run a single command with a specific version of raku. With perlbrew I'd do:

$ perlbrew exec --with perl-5.36.0 perl -E 'say 42'
42

and I'd like the following to work

$ rakubrew exec --with moar-2024.03 raku -e 'say 42'
rakubrew: --with: command not found

or more specifically

$ rakubrew exec --with moar-2024.03 zef list --installed site vendor 2> /dev/null | rakubrew exec zef install -

ugexe avatar Apr 28 '24 19:04 ugexe