dansomething / codenarc-cli

Conveniently run CodeNarc from the command-line

Home Page:https://codenarc.github.io/CodeNarc/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Conveniently run CodeNarc from the command-line

https://codenarc.github.io/CodeNarc/

License:MIT License


Languages

Language:Shell 100.0%