Skip to content

cli: breakdown features into 2 subcommands

Koala Yeung requested to merge feat/cli-subcommand into main

Breaks down libcangjie_cli features into 2 subcommands:

  • query: for query of code (with all the features before the change except the --version flag)
  • version: for query of library version (the same as the --version flag before)

Use hyphen instead of underscore for CLI tools naming:

  • libcangjie_cli -> libcangjie-cli
  • libcangjie_bench -> libcangjie-bench
  • libcangjie_dbbuilder -> libcangjie-dbbuilder

Merge request reports