aboutsummaryrefslogtreecommitdiff
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
parent0b3a96d0dedbf0181b64d30fa4434c5708394c97 (diff)
downloadyae-main.tar.xz
yae-main.zip
feat: Add version to CLIHEADmain
-rw-r--r--flake.nix2
-rw-r--r--yae.go3
2 files changed, 4 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index 277dcbf..4b11603 100644
--- a/flake.nix
+++ b/flake.nix
@@ -59,7 +59,7 @@
inherit meta;
pname = name;
- version = "2025.11.25";
+ version = "2025.11.29";
src = pkgs.lib.cleanSource ./.;
vendorHash = "sha256-XQEB2vgiztbtLnc7BR4WTouPI+2NDQXXFUNidqmvbac=";
buildInputs = if isDarwin then [ ] else [ pkgs.musl ];
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,