aboutsummaryrefslogtreecommitdiff
path: root/yae.go
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-11-29 06:07:59 +0000
committerFuwn <[email protected]>2025-11-29 06:07:59 +0000
commit6b7fa77ee81481405cee4a11cddbc2ae8e188234 (patch)
tree964f025f2fcf8293767d3ff9896dca446381d372 /yae.go
parentchore(flake): Update version (diff)
downloadyae-6b7fa77ee81481405cee4a11cddbc2ae8e188234.tar.xz
yae-6b7fa77ee81481405cee4a11cddbc2ae8e188234.zip
feat: Add version to CLI
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,