Commit Graph
18 Commits
Author SHA1 Message Date
onyx_online 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
onyx_online f6435fcd88 update the pre-built binary names to match the README. 2026-08-01 04:21:05 +01:00
onyx_online 38975cd9d6 update not regarding --count and --count-flag update
add ListCmd to README.
2026-08-01 04:20:51 +01:00
onyx_online 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
onyx_online dd49700eb1 add list subcommand
add renderKindList()
2026-08-01 04:19:18 +01:00
onyx_online af06fab1f1 add AllKinds to the public API. Use it as a single source of truth. 2026-08-01 04:18:48 +01:00
onyx_online 2259676027 add drawUnique test 2026-07-24 16:52:49 +01:00
onyx_online 12ca7d8fc2 pluralise draw only if entries>1 2026-07-24 16:21:18 +01:00
onyx_online 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
onyx_online 3f0af6e5ec render multiple draws into a single card 2026-07-24 12:48:06 +01:00
onyx_online 5a20a3cf2b md fix 2026-07-24 01:40:36 +01:00
onyx_online 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
onyx_online 2d1a024d65 upd selectionprompt img 2026-07-24 00:02:33 +01:00
onyx_online ad882d0fc0 lint fixes
make "Set For Life" easier to read.
2026-07-23 23:57:16 +01:00
onyx_online fb13566543 upd README. 2026-07-23 23:49:48 +01:00
onyx_online cdee9113de add README + img/ 2026-07-23 23:41:19 +01:00
onyx_online 06f47b1f70 add taskfile 2026-07-23 23:40:58 +01:00
onyx_online 6df41c1888 initial commit 2026-07-23 23:25:26 +01:00