node package manager
Orgs are free. Discover, share, and reuse code in your team. Create a free org »

b-html-cli

b-html-cli

A CLI for b-html.

Installation

$ npm install -g b-html-cli

Usage

index.bhtml -> index.html

$ b-html index.bhtml

bhtmls/**/*.bhtml -> htmls/**/*.html

$ b-html -o htmls/ bhtmls/

index.bhtml <- index.html

$ b-html -m h2b index.html

or

# -s is "remove white spaces" option.
# (You might get the result you want!)
$ b-html -m h2b -s index.html

bhtmls/**/*.bhtml <- htmls/**/*.html

$ b-html -m h2b -o bhtmls/ htmls/

or

# -s is "remove white spaces" option.
# (You might get the result you want!)
$ b-html -m h2b -s -o bhtmls/ htmls/

License

MIT

Author

bouzuya <m@bouzuya.net> (http://bouzuya.net)