Skip to content

Commit

Permalink
Print version
Browse files Browse the repository at this point in the history
  • Loading branch information
seguidor777 committed Jan 5, 2025
1 parent 8172c00 commit a335392
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cmd/portfel/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,14 @@ import (
"os"
)

var version = "0.0.1"

func main() {
log.Println("Running version", version)
tradeCmd := flag.NewFlagSet("trade", flag.ExitOnError)
dryRun := tradeCmd.Bool("dry-run", false, "Trade in dry-run mode")
tradeConfigPath := tradeCmd.String("config", "user_data/config.yml", "Configuration file path")
databasePath := tradeCmd.String("database", "user_data/db", "Database path")
databasePath := tradeCmd.String("database", "user_data/db", "Database path")

testCmd := flag.NewFlagSet("test", flag.ExitOnError)
testConfigPath := testCmd.String("config", "user_data/config.yml", "Configuration file path")
Expand Down

0 comments on commit a335392

Please sign in to comment.