mirror of
https://github.com/sbrow/envr.git
synced 2025-12-29 23:47:39 -05:00
20 lines
273 B
Nu
Executable File
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)
|
|
}
|
|
}
|