Common documentation and files across my projects

Add script to easily update files

Signed-off-by: @matrixfurry.com <did:plc:zmjoeu3stwcn44647rhxa44o>

matrixfurry.com de656725 e65c5ab0

verified
+19
+19
scripts/update-common-files.nu
··· 1 + #!/usr/bin/env nu 2 + # SPDX-License-Identifier: AGPL-3.0-only 3 + # SPDX-FileCopyrightText: 2025 @matrixfurry.com <did:plc:zmjoeu3stwcn44647rhxa44o> 4 + 5 + # Update the common files in this directory to the latest from https://tangled.org/@matrixfurry.com/common 6 + def main [] { 7 + let files = [ 8 + "CODE_OF_CONDUCT.md" 9 + "CONTRIBUTING.md" 10 + "SECURITY.md" 11 + "LICENSE" 12 + ] 13 + 14 + $files 15 + | par-each {|file| 16 + http get $"https://tangled.org/@matrixfurry.com/common/raw/main/($file)" 17 + | save -fp $file 18 + } 19 + }