goatee-rules

Goatee is the missing complement for handlebar mustaches.

npm install goatee-rules
1 downloads in the last week
4 downloads in the last month

goatee-rules

     _______  _______  _______  _______  _______  _______
    |    ___||       ||       ||_     _||    ___||    ___|
    |   | __ |   _   ||   _   |  |   |  |   |___ |   |___
    |   ||  ||  |_|  ||  |_|  |  |   |  |    ___||    ___|
    |   |_| ||       ||   _   |  |   |  |   |___ |   |___
    |_______||_______||__| |__|  |___|  |_______||_______|
                                     . ,
                                     (\\
                                  .--, \\__
                                   `-.     *`-.__
                                     |          ')
                                    / \__.-'-, ~;
                                   /     |   { /
                    ._..,-.-"``~"-'      ;    (
                 .;'                    ;'    ´
            ~;,./                      ;'
               ';                     ;'
                ';                 /;'|
                 |    .;._.,;';\   |  |
                 \   /  /       \  |\ |
                  \ || |         | )| )
                  | || |         | || |
            ~~~~~ | \| \  ~~~~~~ | \| \  ~~~~~~~
            "''"' `##`##' "'"''" `##`##' '"''"'"
            '"'"''"'"''"''"''"'"'''"'"'''"''"'"'
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        ______    __   __  ___      _______  _______
       |    _ |  |  | |  ||   |    |    ___||  _____|
       |   |_||_ |  | |  ||   |    |   |___ | |_____
       |    __  ||  |_|  ||   |___ |    ___||_____  |
       |   |  | ||       ||       ||   |___  _____| |
       |___|  |_||_______||_______||_______||_______|

A goatee is the perfect complement for handlebar mustaches. :-{>~

Objective

GoateeRules are the combination of goatee-script and the syntax of inline css-rules.

See “goatee-js” and “goatee-script”.

Installation

$ npm install -g goatee-rules

Usage

$ goatee-rules -h

Usage: goatee-rules [statements]... [options]

statements     string passed from the command line to evaluate

Options:
   -r STATEMENT, --run STATEMENT   string passed from the command line to evaluate
   -h, --help                      display this help message
   -i, --interactive               run an interactive `goatee-rules` REPL
   -m MODE, --mode MODE            set execution-mode to [c]ompile, [e]valuate, [p]rint, [r]ender or [s]tringify given statements, default:  [eval]
   -c, --compress                  compress the abstract syntax tree (ast)  [false]
   --nodejs OPTION                 pass one option directly to the "node" binary, repeat for muliple options
   -v, --version                   display the version number and exit

If called without options, `goatee-rules` will run interactive.

Development

Preperation (once):

$ git clone https://github.com/sjorek/goatee-rules
$ cd goatee-rules
$ npm install

For *nix-like environments (verified):

$ PATH=$PATH:./node_modules/.bin cake all

For Windows environments (not verified):

$ set path=%PATH%;.\node_modules\.bin
$ setx path "%PATH%"
$ cake all

Credits go to …

npm loves you