2 unstable releases
0.2.0 | Dec 20, 2018 |
---|---|
0.1.1 | Dec 19, 2018 |
#17 in #ranking
16KB
304 lines
tcrank
tcrank
is a tiny utility tool for THE IDOLM@STER MILLION LIVE!! THEATER DAYS and its special election event, THE@TER CHALLENGE!!.
tcrank
uses the Princess.
Install
tcrank
is written in Rust. Thus you should install the latest Rust ecosystem in advance.
refs. rustup
With cargo install
$ cargo install -f tcrank
Build from source code
$ git clone https://github.com/sadaie/tcrank.git
$ cd tcrank
$ cargo build --release
$ ls target/release/
build deps examples incremental native tcrank tcrank.d
Usage
Listing the idols and/or the roles.
# lists both of the idols and roles.
$ tcrank list
# lists the idols.
$ tcrank list -i
# lists the roles.
$ tcrank list -r
Showing the specified idol's rank(s).
# shows the idol's rank by ID.
$ tcrank show -i 21
Name Role Score Rank
徳川まつり 少女 80 9
徳川まつり 魔法使い 10857 1
徳川まつり ファイナルデイ 36 7
# shows the idol's rank by ID and role's ID.
$ tcrank show -i 21 -r 23
Name Role Score Rank
徳川まつり 魔法使い 10857 1
# and you can use both of the idol's name and role's name.
$ tcrank show -i "徳川まつり" -r "魔法使い"
Name Role Score Rank
徳川まつり 魔法使い 10857 1
Additional options
--json
option prints the result asJSON
style string.--json-pretty
option prints the result as prettyJSON
style string.
License
MIT lincense.
Dependencies
~22–33MB
~550K SLoC