require "../cli" if $0 == __FILE__ module Bioshogi class CLI desc "input_checker", "入力" def input_checker(*argv) InputParser.check(argv.join(" ")) end end end if $0 == __FILE__ Bioshogi::CLI.start(["input_checker", "68S", "△76歩 34歩"]) end # >> |--------+--------------+-----------+----------+-----------+------------+----------------+-------------+--------------+---------------------+------------------+----------------+----------+----------+--------+-----------+-----------------+-------------------+---------+-----------+----------------------| # >> | 入力 | ki2_location | kif_place | ki2_same | kif_piece | ki2_one_up | ki2_left_right | ki2_up_down | ki2_as_it_is | ki2_promote_trigger | kif_drop_trigger | kif_place_from | csa_sign | csa_from | csa_to | csa_piece | sfen_drop_piece | sfen_drop_trigger | sfen_to | sfen_from | sfen_promote_trigger | # >> |--------+--------------+-----------+----------+-----------+------------+----------------+-------------+--------------+---------------------+------------------+----------------+----------+----------+--------+-----------+-----------------+-------------------+---------+-----------+----------------------| # >> | 68S | | 68 | | S | | | | | | | | | | | | | | | | | # >> | △76歩 | △ | 76 | | 歩 | | | | | | | | | | | | | | | | | # >> | 34歩 | | 34 | | 歩 | | | | | | | | | | | | | | | | | # >> |--------+--------------+-----------+----------+-----------+------------+----------------+-------------+--------------+---------------------+------------------+----------------+----------+----------+--------+-----------+-----------------+-------------------+---------+-----------+----------------------|