Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 861 Bytes

README.md

File metadata and controls

28 lines (17 loc) · 861 Bytes

codenarc-cli

Conveniently run CodeNarc from the command-line.

Prequisites

Install

  1. Download the codenarc-cli zip
  2. Unzip codenarc-cli-master.zip

Example

# Display the command-line help
/path/to/unzipped/codenarc-cli/codenarc -help

# Analyze the current directory using the rules configured in `.codenarcrc`
/path/to/unzipped/codenarc-cli/codenarc -basedir=. -rulesetfiles=file:.codenarcrc -report=console

Platforms

Only tested on MacOS

Links