Skip to content

b-html/b-html-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)