Skip to content
This repository has been archived by the owner on May 5, 2020. It is now read-only.
/ pbhbs Public archive

๐ŸŽ Generate files based on protobuf definition and handlebars templates

License

Notifications You must be signed in to change notification settings

90dy/pbhbs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

28 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

pbhbs

Generate files based on protobuf definition and handlebars templates.

Getting Started

Prerequisites

You need to have yarn or npm installed

Installation

With yarn

yarn global add pbhbs

With npm

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

Examples

Currently there is no examples, please contribute to #8 :)

Running the tests

Currently no tests have been provided, please contribute to #7 :)

Deployment

Currently handmade, please contribute to #5, #6 and #7 :)

Built With

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

Currently handmade, please contribute to #5 :)

Authors

  • Godefroy Ponsinet - Initial work - gponsinet

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowlegment

About

๐ŸŽ Generate files based on protobuf definition and handlebars templates

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published