/Dicer

Simple CLI app build with Argument Parser for in-company presentation

Primary LanguageSwift

Dicer

Simple CLI app build with Argument Parser for in-company presentation.

Keynote attached.

Usage

Example 1 - Simple roll

❯ swift run Dicer d10 d12
> 18

Example 2 - repeat roll times

❯ swift run Dicer d10 d12 --repeat 2
> 16
> 8

Example 2 - print each dice on separate row

❯ swift run Dicer d6 d6 d6 --show-separately
> 6
> 3
> 6