Skip to content

Commit

Permalink
Add version variable
Browse files Browse the repository at this point in the history
  • Loading branch information
sj14 committed Apr 28, 2024
1 parent 630a0cf commit 55c2ade
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,18 @@ import (
"github.com/urfave/cli/v2"
)

var (
// will be replaced during the build process
version = "undefined"
// commit = "undefined"
// date = "undefined"
)

func main() {
app := &cli.App{
Name: "jellyctl",
Usage: "Manage Jellyfin from the CLI",
Version: version,
Suggest: true,
EnableBashCompletion: true,
Flags: []cli.Flag{
Expand Down

0 comments on commit 55c2ade

Please sign in to comment.