aboutsummaryrefslogtreecommitdiff
path: root/yae.go
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-11-28 22:07:59 -0800
committerFuwn <[email protected]>2025-11-28 22:07:59 -0800
commitee1e583a3c2584880ee666043ffe1a176bbd88b4 (patch)
tree964f025f2fcf8293767d3ff9896dca446381d372 /yae.go
parent0b3a96d0dedbf0181b64d30fa4434c5708394c97 (diff)
downloadyae-ee1e583a3c2584880ee666043ffe1a176bbd88b4.tar.xz
yae-ee1e583a3c2584880ee666043ffe1a176bbd88b4.zip
feat: Add version to CLIHEADmain
Diffstat (limited to 'yae.go')
-rw-r--r--yae.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/yae.go b/yae.go
index 0b1c358..5510b57 100644
--- a/yae.go
+++ b/yae.go
@@ -11,11 +11,14 @@ import (
"github.com/urfave/cli/v2"
)
+var Version string
+
func main() {
sources := yae.Environment{}
if err := (&cli.App{
Name: "yae",
+ Version: Version,
Usage: "Nix Dependency Manager",
Description: "Nix Dependency Manager",
EnableBashCompletion: true,