Crates.io | riichi-tools-cli |
lib.rs | riichi-tools-cli |
version | 0.1.2 |
source | src |
created_at | 2021-03-24 08:03:28.93933 |
updated_at | 2021-04-26 20:32:03.646348 |
description | Riichi Mahjong tools for the terminal |
homepage | https://riichi.harphield.com/tools/ |
repository | https://github.com/harphield/riichi-tools-cli |
max_upload_size | |
id | 372859 |
size | 32,905 |
A command line tool for riichi mahjong shenanigans.
riichi-tools-cli [FLAGS] [OPTIONS] [SUBCOMMAND]
-h, --help
Prints help information
-j, --json
Output in json instead of random text
-V, --version
Prints version information
-v, --verbose
Verbosity level - changes how much stuff is written out
riichi-tools-cli generate [FLAGS] [number]
Generate a random starting hand.
FLAGS:
-c, --complete
Generate complete hands
-s, --shanten
Also include shanten
riichi-tools-cli shanten <hand>
Find shanten of a hand
riichi-tools-cli ukeire <hand>
Find ukeire of a hand
riichi-tools-cli score [FLAGS] [OPTIONS] <hand>
Score information for a hand
FLAGS:
-h, --han-fu
Show han and fu
-p, --points
Show hand points
-r, --riichi
Is the hand in riichi?
-t, --tsumo
Did I selfdraw the hand?
-y, --yaku
Show yaku names
OPTIONS:
-m, --my-wind <my-wind>
My wind. e = east s = south w = west n = north [default: e]
-w, --wind <wind>
Prevalent wind. e = east s = south w = west n = north [default: e]