I wrote versions in golang and rust.
With golang it was a walk in the park but I've writen a lot of go.
I just started learning rust and oh boy did I struggle 😅
While writting the golang version, I was using this nu snippet to build and run the app automatially:
watch . { |event|
if $event == Create {
go build
let cwd = pwd
do {
cd ~/.dotfiles
git ls-files
| lines
| each {ls $in}
| flatten
| where type == file
| each { ^($cwd | path join codepoints) $in.name }
}
}
}