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 /yae.go | |
| parent | chore(flake): Update version (diff) | |
| download | yae-6b7fa77ee81481405cee4a11cddbc2ae8e188234.tar.xz yae-6b7fa77ee81481405cee4a11cddbc2ae8e188234.zip | |
feat: Add version to CLI
Diffstat (limited to 'yae.go')
| -rw-r--r-- | yae.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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, |