Commit Graph

22 Commits

Author SHA1 Message Date
github-actions[bot]
0a8cb55e84 chore: auto-update Go modules 2026-08-17 00:21:46 +00:00
github-actions[bot]
dc1f6409d7 chore: auto-update Go modules 2026-08-10 00:30:52 +00:00
1282da4e0e Fail fast if count value is invalid when count-prompt is not set.
move lottery draw logic into runLottery()

move MarkFlagsMutuallyExclusive into init()
v0.6.1
2026-08-03 04:46:00 +01:00
github-actions[bot]
98c94b4947 chore: auto-update Go modules 2026-08-03 00:51:18 +00:00
f6435fcd88 update the pre-built binary names to match the README. v0.6.0 2026-08-01 04:21:05 +01:00
38975cd9d6 update not regarding --count and --count-flag update
add ListCmd to README.
2026-08-01 04:20:51 +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
af06fab1f1 add AllKinds to the public API. Use it as a single source of truth. 2026-08-01 04:18:48 +01:00
github-actions[bot]
c55ab96a4f chore: auto-update Go modules 2026-07-27 00:53:05 +00:00
2259676027 add drawUnique test 2026-07-24 16:52:49 +01:00
12ca7d8fc2 pluralise draw only if entries>1 v0.5.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.
v0.5.0
2026-07-24 13:11:56 +01:00
3f0af6e5ec render multiple draws into a single card v0.4.0 2026-07-24 12:48:06 +01:00
5a20a3cf2b md fix v0.3.0 2026-07-24 01:40:36 +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
2d1a024d65 upd selectionprompt img 2026-07-24 00:02:33 +01:00
ad882d0fc0 lint fixes
make "Set For Life" easier to read.
v0.2.0
2026-07-23 23:57:16 +01:00
fb13566543 upd README. 2026-07-23 23:49:48 +01:00
cdee9113de add README + img/ 2026-07-23 23:41:19 +01:00
06f47b1f70 add taskfile 2026-07-23 23:40:58 +01:00
6df41c1888 initial commit v0.1.0 2026-07-23 23:25:26 +01:00