# Pastebin O72fdaZg module Librerify { use Zef::CLI; my %cmds = do for &MAIN.candidates>>.signature>>.params { my @params = .self; my @cmd = @params.grep({ .elems == 1 && .head ~~ Str with .constraint_list})>>.constraint_list>>[0]; @cmd.join("-") => &MAIN.assuming(|@cmd) if @cmd } %cmds("Red") }