Skip to content
Lucas Kanashiro edited this page Apr 26, 2017 · 8 revisions

Command line is the practical and easy way to use kuniri. See below the descriptions:

  • -h, --help : It shows all available command:
kuniri -h
  • --version : Shows Kuniri version
kuniri --version
  • -l, --language LANG: Use this LANG for current analysis. The default is 'ruby'
kuniri -l LANG
  • -O, --optimization 1,2,3: Use this number for optimize current analysis. The default is 1
kuniri -O 1|2|3
  • -o, --output PATH: Use this PATH to write output of current analysis. The default is ./outputKuniri/ to folder analysis and outputKuniri.xml to single file analysis
kuniri -o PATH
  • -v, --verbose: Make output verbose, use Logger::INFO level
kuniri -v
  • -V, --very-verbose: Make output very verbose, use Logger::DEBUG level
kuniri -V

Parse a simple file or the entire folder

See the command below:

kuniri path/to/your/source/code
  • First parameter is the source code path or target folder.
  • -o: means "output", in other worlds, place output in the specified path.
  • -l: indicate which kind of language your project is.

Summary

Flags Description
-o Output
-l Laguage type
-v Verbose
-V Very-Verbose
-h Help
--version Version

Clone this wiki locally