Skip to content

Commit

Permalink
Put version number in.
Browse files Browse the repository at this point in the history
  • Loading branch information
neunhoef committed Jul 26, 2023
1 parent bd1001f commit ab57f13
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ import (
"github.com/spf13/cobra"
)

const (
Version = "0.9.0"
)

var (
cmd = &cobra.Command{
Short: "The 'feed' tool feeds ArangoDB with generated data, quickly.",
Expand Down Expand Up @@ -64,7 +68,7 @@ func produceResult(prog feedlang.Program) {

func mainExecute(cmd *cobra.Command, _ []string) error {

fmt.Printf("Hello world, this is 'feed'!\n\n")
fmt.Printf("Hello world, this is 'feed' version %s !\n\n", Version)

// Expose metrics:
if config.MetricsPort != 0 {
Expand Down

0 comments on commit ab57f13

Please sign in to comment.