1
0

🏗️」 wip: started secrets management

This commit is contained in:
2025-03-05 14:17:13 +01:00
parent 1538afbc7b
commit 0a3dff2e67
9 changed files with 99 additions and 44 deletions

View File

@ -0,0 +1,22 @@
package main
import (
"fmt"
"os"
"git.keyzox.me/42_adjoly/inception/internal/env"
)
func main() {
args := os.Args
if len(args) < 2 {
os.Exit(0)
}
env := env.FileEnv(args[1], "")
if env == "" {
os.Exit(1)
}
fmt.Print(env)
}