mollifier / cureutils

Useful command line tool for Japanese battle heroine "Pretty Cure (Precure)".

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cureutils

Useful command line tool for Japanese battle heroine "Pretty Cure (Precure)".

Installation

Install it yourself as:

$ gem install cureutils

After that, cure command is availabe.

$ cure

Usage

cure date

Display date, time and Precure related events.

$ cure date
2016-06-17 21:28:42 魔法つかいプリキュア!放映期間
  • %Y : Year
  • %m : Month 01 - 12
  • %d : Date 01 - 31
  • @P : Precure related events.
  • And other general date formats are usable.

Options

Option Description
-d cure date -d STRING: display time described by STRING
$ cure date -d '3 years ago' '+%Y/%m @P'
2013/06 ドキドキ!プリキュア放映期間

cure echo

Print messages of Precure.

$ cure echo
みんなの思いを守るために
心をひとつに!
思いよ届け!キュアエコー!

cure girls

Print girls' name

$ cure girls
美墨なぎさ
雪城ほのか
九条ひかり
日向咲
美翔舞
夢原のぞみ
夏木りん
春日野うらら
秋元こまち
水無月かれん
...

cure grep

Print lines matching a pattern.

$ echo キュア{レッド,ピンク,ブラック,ブルー,ホワイト}"\n" | cure grep
 キュアブラック
 キュアホワイト

Options

Option Description
-E Interpret PATTERN as an extended regular expression.
-o Print only the matched (non-empty) parts of a matching line, with each such part on a separate out.

Folloing "Precure bracket expression" are available.

Expression Description
[:cast_name:] Voice actor name.
[:color:] Name of the color of the Precure.
[:girl_name:] Girl name.
[:human_name:] Real name before transforming.
[:precure_name:] Precure name.
$ cat txt | cure grep '私は[:precure_name:]です。'
こんにちは、 私はキュアレモネードです。

cure tr

Translate Precure related parameters.

$ echo 相田マナ | cure tr '[:human_name:]' '[:cast_name:]'
生天目仁美

Folloing "Precure bracket expression" are available.

Expression Description
[:cast_name:] Voice actor name.
[:color:] Name of the color of the Precure.
[:girl_name:] Girl name.
[:human_name:] Real name before transforming.
[:precure_name:] Precure name.

cure transform

Replace human_name to precure_name

$ echo '私の名前は十六夜リコです。' | cure transform
私の名前はキュアマジカルです。

cure humanize

Change precure_name to human_name.

$ echo キュア{ハート,エース} | cure humanize
相田マナ 円亜久里

cure janken

Let's play "Pikarin Janken" !

$ cure janken
ピカピカピカリン
ジャンケンポン!
1...グー, 2...チョキ, 3...パー : 1

あなた: グー
キュアピース: グー

[結果]
あいこ

Exit status is changed depending on the result.

Result Exit status
You win 0
You lose 1
Draw 2

cure precures

Print Precure names

$ cure precures
キュアブラック
キュアホワイト
シャイニールミナス
キュアブルーム
キュアイーグレット
キュアブライト
キュアウィンディ
キュアドリーム
キュアルージュ
キュアレモネード
...

Zsh completion

etc/cure-completion.zsh is useful if you are using Zsh.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/greymd/cureutils. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.

About

Useful command line tool for Japanese battle heroine "Pretty Cure (Precure)".

License:MIT License


Languages

Language:Ruby 90.3%Language:Shell 9.7%