diff options
| author | Fuwn <[email protected]> | 2025-11-29 06:07:59 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-11-29 06:07:59 +0000 |
| commit | 6b7fa77ee81481405cee4a11cddbc2ae8e188234 (patch) | |
| tree | 964f025f2fcf8293767d3ff9896dca446381d372 | |
| parent | chore(flake): Update version (diff) | |
| download | yae-6b7fa77ee81481405cee4a11cddbc2ae8e188234.tar.xz yae-6b7fa77ee81481405cee4a11cddbc2ae8e188234.zip | |
feat: Add version to CLI
| -rw-r--r-- | flake.nix | 2 | ||||
| -rw-r--r-- | yae.go | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -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 ]; @@ -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, |