From 7f814c4e855afd35ac2485277b7599f125ec48d5 Mon Sep 17 00:00:00 2001 From: Ignacio Rivas Date: Wed, 27 Mar 2013 16:00:55 -0300 Subject: [PATCH] Updated CLI examples --- README.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6e341cb..c936ccd 100644 --- a/README.md +++ b/README.md @@ -71,28 +71,32 @@ linter.initialize(fileOrUrl, function() { You can also run AriaLinter from the terminal +```shell +$ npm install -g arialinter +``` + Display all the rules ```javascript -$ node index --rules +$ arialinter --rules ``` Execute the linter just for templates ```javascript -$ node index --templates test/testFiles/template.html +$ arialinter --templates test/testFiles/template.html ``` Execute the linter using all the rules of the level A ```javascript -$ node index --level A test/testFiles/index.html +$ arialinter --level A test/testFiles/index.html ``` Execute the linter using all the rules of the level A and the rules that just apply for templates ```javascript -$ node index --level A --templates test/testFiles/index.html +$ arialinter --level A --templates test/testFiles/index.html ```