๐ protocol generator + handlebar-js template (protobuf)
A generic code/script/data generator based on Protobuf.
Largely inspired by the work of moul.
$> npm install -g pbhbs
Usage:
pbhbs [--debug] [--output-dir=<dir>] [--template-dir=<dir>] [--proto-path=<proto_path>...] [--helper-dir=<helper-dir>] <protos>...
pbhbs [--debug] (-h | --help)
pbhbs [--debug] (-v | --version)
Parse protobuf declarations and handlebars-js templates to generate custom files
Arguments:
protos Protos input files
Options:
-h --help Show this
-v --version Show current version
-d --debug Display debug informations
-p --proto-path DIR Adds a directory to the include path
-t --template-dir DIR Specify templates directory [default: ./template]
-H --helper-dir DIR Specify handlebars helper directory
-o --output-dir DIR Specify output directory [default: .]