spotify/protoman

By spotify

Updated almost 7 years ago

Protoman command line interface.

Image
0

136

Protoman CLI

Usage

Generate new proto

protoman generate $PACKAGE $SERVICE_NAME $PROTO_ROOT
protoman generate spotify.foobar winning src/main/proto

Get dependency

protoman get -s $SERVER -p $PROTO_ROOT $PACKAGES

Publish local packages

protoman publish -s $SERVER

.protoman.yaml keep track of local and third party dependencies.

Example content:

local: []
third_party:
- path: src/main/protos/spotify/awesome
  pkg: jhaals.awesome
- path: protos/src/main/winning/jhaals/testing
  pkg: jhaals.testing
Building

To compile protoman CLI, run:

make compile

To just test it, run:

make test

Docker Pull Command

docker pull spotify/protoman