Skip to content
pbhbs
Go to file
Code
This branch is 1 commit ahead, 21 commits behind gponsinet:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

README.md

pbhbs

📂 protocol generator + handlebar-js template (protobuf)

A generic code/script/data generator based on Protobuf.

Largely inspired by the work of moul.

Installation

$> npm install -g pbhbs

Usage

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: .]

About

protobuf gen based on handlebarjs template

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.