Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Copy tweak to usage & readme

  • Loading branch information...
commit 893154e7820deac522a92d2aec6d6f317719dfe8 1 parent 4e636b5
@jvdl authored
Showing with 13 additions and 14 deletions.
  1. +11 −12 README.md
  2. +2 −2 lib/usage.js
View
23 README.md
@@ -1,23 +1,23 @@
#LessWatcher
-An easy to use, globally installable .less compiler and watcher.
-
+An easy to use, globally installable .less compiler and watcher.
+
usage: lesswatcher [options]
-
+
options:
-h, --help Print help (this message) and exit.
-
+
-d, --directory Set input directory - where your .less files are located
-
- -o, --output Set output directory - this is relative to your the
+
+ -o, --output Set output directory - this is relative to the
directory where less files are generated from.
-
+
-b, --build-only Performs a build and exits
-
+
Example:
-
+
lesswatcher -d=styles/less -o=../css
-
-Alternative, a `lesswatcher.config` file can be placed in the directory where you are calling it from to specify a set of options.
+
+Alternatively, a `lesswatcher.config` file can be placed in the directory where you are calling it from to specify a set of options.
For example the following content in `lesswatcher.config` will set the corresponding options:
@@ -31,4 +31,3 @@ For example the following content in `lesswatcher.config` will set the correspon
Most of this project is simply a shorthand to [Guilherme Dupont](https://github.com/gdupont "Guilherme Dupont")'s work on [less-monitor](https://github.com/gdupont/less-monitor "less-monitor").
It depends on `less-monitor` and `less` to perform all the hard work. I just wanted a quick-and-dirty command that I could run from the CLI without having to set loads of options. Additionally the use of a config file was a feature I thought was necessary.
-
View
4 lib/usage.js
@@ -11,8 +11,8 @@ var usage = {
sys.puts("");
sys.puts(" -d, --directory Set input directory - where your .less files are located");
sys.puts("");
- sys.puts(" -o, --output Set output directory - this is relative to your the directory");
- sys.puts(" where less files are generated from.");
+ sys.puts(" -o, --output Set output directory - this is relative to the");
+ sys.puts(" directory where less files are generated from.");
sys.puts("");
sys.puts(" -b, --build-only Performs a build and exits");
// sys.puts("");
Please sign in to comment.
Something went wrong with that request. Please try again.