Skip to content

Commit

Permalink
feat: added version flag
Browse files Browse the repository at this point in the history
  • Loading branch information
achannarasappa committed Feb 14, 2021
1 parent ac50e81 commit d78c022
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,11 @@ var (
options cli.Options
err error
rootCmd = &cobra.Command{
Use: "ticker",
Short: "Terminal stock ticker and stock gain/loss tracker",
Args: cli.Validate(&ctx, &options, &err),
Run: cli.Run(ui.Start(&dep, &ctx)),
Version: "v3.1.0",
Use: "ticker",
Short: "Terminal stock ticker and stock gain/loss tracker",
Args: cli.Validate(&ctx, &options, &err),
Run: cli.Run(ui.Start(&dep, &ctx)),
}
)

Expand Down

0 comments on commit d78c022

Please sign in to comment.