Skip to content

Improved libcangjie2_cli with command line options

Koala Yeung requested to merge yookoala:cli-with-options into master

The CLI tool libcangjie2_cli is improved to accept the following options:

-f, --with-filter=FILTER1,FILTER2...  specify the filters used in the query
                                      default: big5,hkscs
                                      acceptable values:
                                        big5, hkscs, punctuation, chinese,
                                        zhuyin, kanji, katakana, symbols
-m, --mode=MODE                       specify the mode of query
                                      default: code
                                      acceptable values:
                                        code, shortcode, radical
-u, --use-cj-version=VERSION          specify the version of Cangjie used
                                      default: 3
                                      acceptable values: 3, 5
-h, --help                            print this help message and leave

These changes should be sufficient to resolve #1 (closed).

Merge request reports