2026-07-24 01:40:36 +01:00
2026-07-23 23:25:26 +01:00
2026-07-24 00:02:33 +01:00
2026-07-23 23:25:26 +01:00
2026-07-23 23:25:26 +01:00
2026-07-23 23:25:26 +01:00
2026-07-23 23:25:26 +01:00
2026-07-24 01:39:12 +01:00
2026-07-24 01:39:12 +01:00
2026-07-23 23:25:26 +01:00
2026-07-23 23:25:26 +01:00
2026-07-24 01:40:36 +01:00
2026-07-23 23:40:58 +01:00
2026-07-23 23:25:26 +01:00

Windows Linux macOS

lottery

Play National Lottery games from your terminal.

Selection Prompt

Draw

Install

go install github.com/onyx-and-iris/lottery-cli/cmd/lottery@latest

Configuration

flags

  • --count/-c: Number of draws to generate.
  • --count-prompt/-C: Prompt for the number of draws to generate.

Note. If both --count and --count-prompt are passed the count prompt will win.

environment variables

#!/usr/bin/env bash

export LOTTERY_COUNT=3
export LOTTERY_COUNT_PROMPT=false

Use

There are no subcommands, just run the CLI directly passing any desired flags:

lottery --count=3

You will then be entered into the selection prompt.

Special Thanks

Languages
Go 100%