Files
envr/mod.nu
2025-10-28 12:18:54 -04:00

20 lines
273 B
Nu
Executable File

#!/usr/bin/env nu
# Manage your .env files with ease
def main [] {
}
def "main get" [
file: path
] {
cd (dirname $file);
{
path: $file
dir: (pwd)
remotes: (git remote | lines | each { git remote get-url $in })
contents: (open $file --raw)
}
}