#!/usr/bin/env nu def main [] { const here = path self . let sample = open ($here | path join luarc_sample.json) mut updated = $sample | update "workspace.library" { $env.LUACATS_PATH} $updated | save --force ($here | path join .. .luarc.json) }