Not the point of the article, but the script can be written more concisely:
#!/usr/bin/env raku
run «git switch $_», :!out, :!err and last for <main master>;
run «git branch -d $_» for run(<git branch --merged>, :out).out.lines».trim.grep: !*.starts-with: '*';
> and because you will want to use external libraries for that, and package management for scripting languages is terrible.
I'm not sure Raku can be called a scripting language, although it can be used as one.
Also I would like to know which parts of package management in Raku are terrible, I'm sure it helps people improve it, since Raku implementation and tooling are young.
I'm not sure Raku can be called a scripting language, although it can be used as one.
Also I would like to know which parts of package management in Raku are terrible, I'm sure it helps people improve it, since Raku implementation and tooling are young.