Commit Graph

9 Commits

Author SHA1 Message Date
1282da4e0e Fail fast if count value is invalid when count-prompt is not set.
move lottery draw logic into runLottery()

move MarkFlagsMutuallyExclusive into init()
2026-08-03 04:46:00 +01:00
18f56b4ecb mark --count and --count-prompt as ME.
use AllKinds to build the selection prompt.

remove --kind flag validation from PreRunE (its redundant).
2026-08-01 04:20:27 +01:00
dd49700eb1 add list subcommand
add renderKindList()
2026-08-01 04:19:18 +01:00
12ca7d8fc2 pluralise draw only if entries>1 2026-07-24 16:21:18 +01:00
1310447664 add --kind flag, it allows you to configure the lottery kind directly, skipping the selection prompt
update the README with more examples.
2026-07-24 13:11:56 +01:00
3f0af6e5ec render multiple draws into a single card 2026-07-24 12:48:06 +01:00
b364276d5a add --count and --count-prompt flags
add support for env vars.

add count prompt logic to the root command

update the README.
2026-07-24 01:39:12 +01:00
ad882d0fc0 lint fixes
make "Set For Life" easier to read.
2026-07-23 23:57:16 +01:00
6df41c1888 initial commit 2026-07-23 23:25:26 +01:00